diff --git a/CHANGELOG.txt b/CHANGELOG.txt index deb00daa7c5d58cff859cfd1ee974b8d806f46d2..fc52a8d3a32722c756a8d35d809d48da04104607 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -12,6 +12,7 @@ Features and enhancements Let a node migration set node_revisions.uid. Thats the 'last edited by' user Bug fixes +- #1050348 - Check map table existence in correct DB. - #1028824 - Errors during registry rebuild trigger fatal error. Fix highwater handling to deal with duplicate values. - #990640 - Help people trying to upgrade from Migrate V1. diff --git a/plugins/sources/sqlmap.inc b/plugins/sources/sqlmap.inc index 025fe04f5f75247a9c7e97ced08c8b91e4172e68..c49d71f8473a35da474e32ba677212062b3ac5c7 100644 --- a/plugins/sources/sqlmap.inc +++ b/plugins/sources/sqlmap.inc @@ -76,7 +76,7 @@ class MigrateSQLMap extends MigrateMap { */ protected function ensureTables() { if (!$this->ensured) { - if (!dbtng_table_exists($this->mapTable)) { + if (!$this->connection->schema()->tableExists($this->mapTable)) { // Generate appropriate schema info for the map and message tables, // and map from the source field names to the map/msg field names $count = 1;