Issue #1103042 by slite: Rollback broken with multi-valued keys
authorMike Ryan
Thu, 24 Mar 2011 15:10:00 +0000 (11:10 -0400)
committerMike Ryan
Thu, 24 Mar 2011 15:10:00 +0000 (11:10 -0400)
CHANGELOG.txt
plugins/sources/sqlmap.inc

index 884c6c9..b625f40 100644 (file)
@@ -1,4 +1,12 @@
 
+Next release
+============
+
+Bug fixes
+- #1097136 - Replace list_number with list_integer and list_float in set of
+  supported simple field types.
+- #1103042 - Rollback broken with multi-valued keys.
+
 Migrate 2.0
 ===========
 No changes since RC3.
index 7bb9000..a869035 100644 (file)
@@ -520,7 +520,7 @@ class MigrateSQLMap extends MigrateMap {
         $message_query = $this->connection->delete($this->messageTable);
         $count = 1;
         foreach ($source_key as $key_value) {
-          $map_query->condition('sourceid' . $count++, $key_value);
+          $map_query->condition('sourceid' . $count, $key_value);
           $message_query->condition('sourceid' . $count++, $key_value);
         }
         $map_query->execute();