Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
620d4db86a
@ -72,6 +72,7 @@ phpMyAdmin - ChangeLog
|
||||
- patch #3375984 [export] PHP Array export might generate invalid php code
|
||||
- bug #3049209 [import] Import from ODS ignores cell that is the same as cell before
|
||||
- bug #3463933 [display] SELECT DISTINCT displays wrong total records found
|
||||
- patch #3458944 [operations] copy table data missing SET SQL_MODE='NO_AUTO_VALUE_ON_ZERO'
|
||||
|
||||
3.4.9.0 (2011-12-21)
|
||||
- bug #3442028 [edit] Inline editing enum fields with null shows no dropdown
|
||||
|
||||
@ -871,6 +871,10 @@ class PMA_Table
|
||||
if (($what == 'data' || $what == 'dataonly')
|
||||
&& ! PMA_Table::isView($target_db, $target_table)
|
||||
) {
|
||||
$sql_set_mode = "SET SQL_MODE='NO_AUTO_VALUE_ON_ZERO'";
|
||||
PMA_DBI_query($sql_set_mode);
|
||||
$GLOBALS['sql_query'] .= "\n\n" . $sql_set_mode . ';';
|
||||
|
||||
$sql_insert_data = 'INSERT INTO ' . $target . ' SELECT * FROM ' . $source;
|
||||
PMA_DBI_query($sql_insert_data);
|
||||
$GLOBALS['sql_query'] .= "\n\n" . $sql_insert_data . ';';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user