diff --git a/ChangeLog b/ChangeLog index 368729fa27..7a216c449f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,7 @@ phpMyAdmin - ChangeLog - bug #4091 Insert ignore option does not work - bug #4090 Downloading BLOB downloads page template - bug #4092 Clicking on table name in view of information_schema redirects to wrong page +- bug #4079 Copy Table Add AUTO_INCREMENT value checkbox not working - bug #4088 MySQL server version at index.php incorrect w/ controlhost 4.0.6.0 (2013-09-05) diff --git a/libraries/Table.class.php b/libraries/Table.class.php index 49ea68e79d..7fdbf78f19 100644 --- a/libraries/Table.class.php +++ b/libraries/Table.class.php @@ -836,6 +836,10 @@ class PMA_Table $no_constraints_comments = true; $GLOBALS['sql_constraints_query'] = ''; + // set the value of global sql_auto_increment variable + if( isset($_POST['sql_auto_increment']) ) { + $GLOBALS['sql_auto_increment'] = $_POST['sql_auto_increment']; + } $sql_structure = $export_sql_plugin->getTableDef( $source_db, $source_table, "\n", $err_url, false, false