bug #1117112, commands out of sync for copy table operation
This commit is contained in:
@@ -6,8 +6,11 @@ $Id$
|
||||
$Source$
|
||||
|
||||
2005-02-07 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* libraries/dbi/*: PMA_DBI_free_result(): do not send a boolean
|
||||
to mysqli_free_result() or mysql_free_result(), it expects a result resource
|
||||
* libraries/dbi/*: bug #1116933, PMA_DBI_free_result():
|
||||
do not send a boolean to mysqli_free_result() or mysql_free_result(),
|
||||
it expects a result resource
|
||||
* libraries/tbl_move_copy.php: bug #1117112, commands out of sync when
|
||||
using "copy table" operation
|
||||
|
||||
2005-02-07 Alexander M. Turek <me@derrabus.de>
|
||||
* libraries/mcrypt.lib.php: Bug #1117907 ("wrong parameter count" with
|
||||
|
@@ -48,7 +48,10 @@ function PMA_duplicate_table_info($work, $pma_table, $get_fields, $where_fields,
|
||||
$table_copy_query = 'SELECT ' . implode(', ', $select_parts)
|
||||
. ' FROM ' . PMA_backquote($cfgRelation[$pma_table])
|
||||
. ' WHERE ' . implode(' AND ', $where_parts);
|
||||
$table_copy_rs = PMA_query_as_cu($table_copy_query);
|
||||
|
||||
// must use PMA_DBI_QUERY_STORE here, since we execute another
|
||||
// query inside the loop
|
||||
$table_copy_rs = PMA_query_as_cu($table_copy_query, TRUE, PMA_DBI_QUERY_STORE);
|
||||
|
||||
while ($table_copy_row = @PMA_DBI_fetch_assoc($table_copy_rs)) {
|
||||
$value_parts = array();
|
||||
|
Reference in New Issue
Block a user