undefined field_comments

This commit is contained in:
Marc Delisle
2005-04-13 14:44:14 +00:00
parent a51fe2ecfe
commit f3fd6bfc80
2 changed files with 4 additions and 1 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2005-04-13 Marc Delisle <lem9@users.sourceforge.net>
* tbl_alter.php: undefined $field_comments
2005-04-10 Alexander M. Turek <me@derrabus.de>
* lang/*.inc.php: New messages for MySQL 5.0 privileges.

View File

@@ -67,7 +67,7 @@ if (isset($do_save_data)) {
}
// take care of native MySQL comments here
$query .= PMA_generateAlterTable($field_orig[$i], $field_name[$i], $full_field_type, (PMA_MYSQL_INT_VERSION >= 40100 && $field_collation[$i] != '' ? $field_collation[$i] : ''), $field_null[$i], $field_default[$i], (isset($field_default_current_timestamp[$i]) ? $field_default_current_timestamp[$i] : ''), $field_extra[$i], (PMA_MYSQL_INT_VERSION >= 40100 && $field_comments[$i] != '' ? $field_comments[$i] : ''));
$query .= PMA_generateAlterTable($field_orig[$i], $field_name[$i], $full_field_type, (PMA_MYSQL_INT_VERSION >= 40100 && $field_collation[$i] != '' ? $field_collation[$i] : ''), $field_null[$i], $field_default[$i], (isset($field_default_current_timestamp[$i]) ? $field_default_current_timestamp[$i] : ''), $field_extra[$i], (PMA_MYSQL_INT_VERSION >= 40100 && isset($field_comments[$i]) && $field_comments[$i] != '' ? $field_comments[$i] : ''));
} // end for
// To allow replication, we first select the db to use and then run queries