Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
weblate committed Sep 23, 2015
2 parents 82dc704 + 91337a7 commit 8813154
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -12,6 +12,7 @@ phpMyAdmin - ChangeLog
- issue #11486 Server variable edition in ANSI_QUOTES sql_mode: losing current value
- issue #11491 Propose table structure broken
- issue #11464 phpMyAdmin suggests upgrading to newer version not usable on that system
- issue #11492 AUTO_INCREMENT statements are partly missing from exports

4.5.0.0 (2015-09-23)
+ rfe Pagination for GIS visualization
Expand Down
9 changes: 4 additions & 5 deletions libraries/plugins/export/ExportSql.class.php
Expand Up @@ -1662,13 +1662,12 @@ public function getTableDef(
}

// Generating auto-increment-related query.
if ((! empty($auto_increment))
&& ($update_indexes_increments)
&& ($statement->entityOptions->has('AUTO_INCREMENT') !== false)
) {
if ((! empty($auto_increment)) && ($update_indexes_increments)) {
$sql_auto_increments_query = $alter_header . $crlf . ' MODIFY '
. implode(',' . $crlf . ' MODIFY ', $auto_increment);
if (isset($GLOBALS['sql_auto_increment'])) {
if (isset($GLOBALS['sql_auto_increment'])
&& ($statement->entityOptions->has('AUTO_INCREMENT') !== false)
) {
$sql_auto_increments_query .= ', AUTO_INCREMENT='
. $statement->entityOptions->has('AUTO_INCREMENT');
}
Expand Down

0 comments on commit 8813154

Please sign in to comment.