Merge remote-tracking branch 'origin/QA_4_4' into QA_4_4

This commit is contained in:
Weblate 2015-07-22 06:44:31 +02:00
commit 59de0a30d7
2 changed files with 5 additions and 0 deletions

View File

@ -2,6 +2,7 @@ phpMyAdmin - ChangeLog
======================
4.4.13.0 (not yet released)
- issue #1808 "Improve table structure" generates invalid SQL
4.4.12.0 (2015-07-20)
- bug Saved chart image does not have a proper name or an extension

View File

@ -99,6 +99,10 @@ function PMA_setColumnCreationStatementSuffix($current_field_num,
return $sql_suffix;
}
if ($_REQUEST['field_where'] == 'last') {
return $sql_suffix;
}
// Only the first field can be added somewhere other than at the end
if ($current_field_num == 0) {
if ($_REQUEST['field_where'] == 'first') {