From 424692a99ba4234977c816d6f9850516f085e422 Mon Sep 17 00:00:00 2001 From: Garvin Hicking Date: Tue, 29 Apr 2003 10:13:00 +0000 Subject: [PATCH] Bug #729416 --- ChangeLog | 3 +++ tbl_move_copy.php3 | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7cccfddd4..bade4f1d7 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ phpMyAdmin - Changelog $Id$ $Source$ +2003-04-29 Garvin Hicking + * tbl_move_copy.php3: Bug #729416 + 2003-04-28 Garvin Hicking * index.php3, queryframe.php3, tbl_query_box.php3, querywindow.php3: Even more issues when QueryFrameJS is set to true, but JS is not diff --git a/tbl_move_copy.php3 b/tbl_move_copy.php3 index 35125c76e..19fc631aa 100644 --- a/tbl_move_copy.php3 +++ b/tbl_move_copy.php3 @@ -82,7 +82,7 @@ global $cfgRelation; } } - $new_table_query = 'INSERT INTO ' . PMA_backquote($cfgRelation[$pma_table]) + $new_table_query = 'REPLACE INTO ' . PMA_backquote($cfgRelation[$pma_table]) . ' (' . implode(', ', $select_parts) . ', ' . implode(', ', $new_parts) . ')' . ' VALUES ' . ' (\'' . implode('\', \'', $value_parts) . '\', \'' . implode('\', \'', $new_value_parts) . '\')';