undefined field_collation

This commit is contained in:
Marc Delisle
2005-10-16 12:09:31 +00:00
parent f5e5b41666
commit 40fa1965be
2 changed files with 5 additions and 2 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2005-10-16 Marc Delisle <lem9@users.sourceforge.net>
* tbl_create.php: undefined $field_collation under MySQL < 4.1.x
2005-10-14 Marc Delisle <lem9@users.sourceforge.net> 2005-10-14 Marc Delisle <lem9@users.sourceforge.net>
* libraries/dbi/mysqli.dbi.lib.php: problem under MySQL 4.0.x * libraries/dbi/mysqli.dbi.lib.php: problem under MySQL 4.0.x
* libraries/sql_query_form.lib.php: support MySQL < 4.1.x * libraries/sql_query_form.lib.php: support MySQL < 4.1.x
@@ -24,7 +27,7 @@ $Source$
* libraries/import.lib.php: uninitialized variables * libraries/import.lib.php: uninitialized variables
2005-10-13 Marc Delisle <lem9@users.sourceforge.net> 2005-10-13 Marc Delisle <lem9@users.sourceforge.net>
* tbl_addfield.php: undefined $field_collation under MySQL 4.0.x * tbl_addfield.php: undefined $field_collation under MySQL < 4.1.x
2005-10-13 Michal Čihař <michal@cihar.com> 2005-10-13 Michal Čihař <michal@cihar.com>
* Documentation.html: Fix URL rewriting not to match empty parts. * Documentation.html: Fix URL rewriting not to match empty parts.

View File

@@ -63,7 +63,7 @@ if (isset($submit_num_fields)) {
continue; continue;
} }
$query = PMA_generateFieldSpec($field_name[$i], $field_type[$i], $field_length[$i], $field_attribute[$i], $field_collation[$i], $field_null[$i], $field_default[$i], isset($field_default_current_timestamp[$i]), $field_extra[$i], isset($field_comments[$i]) ? $field_comments[$i] : '', $field_primary, $i); $query = PMA_generateFieldSpec($field_name[$i], $field_type[$i], $field_length[$i], $field_attribute[$i], isset($field_collation[$i]) ? $field_collation[$i] : '', $field_null[$i], $field_default[$i], isset($field_default_current_timestamp[$i]), $field_extra[$i], isset($field_comments[$i]) ? $field_comments[$i] : '', $field_primary, $i);
$query .= ', '; $query .= ', ';
$sql_query .= $query; $sql_query .= $query;