Skip to content

Commit

Permalink
bug [synchronize] Rows were deleted in target table regardless of the…
Browse files Browse the repository at this point in the history
… "Would you like to delete..." option
  • Loading branch information
lem9 committed Jun 1, 2010
1 parent 153515c commit 432379c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ChangeLog
Expand Up @@ -13,6 +13,8 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
+ [lang] Updated lot of translation based on work done in master branch.
- bug #3008411 [databases] Last dropped database remains active in navi
- bug #2986383 [parser] Not all data being shown / counted
- bug [synchronize] Rows were deleted in target table regardless of the
"Would you like to delete..." option

3.3.3.0 (2010-05-10)
- patch #2982480 [navi] Do not group if there would be one table in group,
Expand Down
2 changes: 1 addition & 1 deletion server_synchronize.php
Expand Up @@ -1037,7 +1037,7 @@
$criteria, $matching_tables_keys, $target_tables_keys, $p, true);
unset($alter_str_array[$p]);
}
if (isset($add_column_array[$p])) {
if (! empty($add_column_array[$p])) {
PMA_findDeleteRowsFromTargetTables($delete_array, $matching_tables, $p, $target_tables_keys, $matching_tables_keys,
$trg_db, $trg_link, $src_db, $src_link);

Expand Down

0 comments on commit 432379c

Please sign in to comment.