Fix changning table parameters if it has no auto increment (bug #1096246).

This commit is contained in:
Michal Čihař
2005-01-05 13:01:23 +00:00
parent 930d04dc46
commit 7b5580a29d
2 changed files with 5 additions and 1 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
2005-01-05 Michal Čihař <michal@cihar.com>
* tbl_properties_operations.php: Fix changning table parameters if it has
no auto increment (bug #1096246).
2005-01-04 Alexander M. Turek <me@derrabus.de>
* lang/german-*.inc.php:
- Updates and small corrections;

View File

@@ -52,7 +52,7 @@ if (isset($submitoptions)) {
. (isset($pack_keys) ? ' pack_keys=1': ' pack_keys=0')
. (isset($checksum) ? ' checksum=1': ' checksum=0')
. (isset($delay_key_write) ? ' delay_key_write=1': ' delay_key_write=0')
. (isset($auto_increment) ? ' auto_increment=' . PMA_sqlAddslashes($auto_increment) : '');
. (!empty($auto_increment) ? ' auto_increment=' . PMA_sqlAddslashes($auto_increment) : '');
$result = PMA_DBI_query($sql_query);
$message = $strSuccess;
}