bug #1040682
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2005-02-03 Alexander M. Turek <me@derrabus.de>
|
||||||
|
* tbl_addfield.php: Bug #1040682 (adding field with collation).
|
||||||
|
|
||||||
2005-02-02 Marc Delisle <lem9@users.sourceforge.net>
|
2005-02-02 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* libraries/dbi/*: PMA_DBI_num_rows(): do not send a boolean
|
* libraries/dbi/*: PMA_DBI_num_rows(): do not send a boolean
|
||||||
to mysqli_num_rows() or mysql_num_row(), it expects a result resource
|
to mysqli_num_rows() or mysql_num_row(), it expects a result resource
|
||||||
|
@@ -62,8 +62,10 @@ if (isset($submit_num_fields)) {
|
|||||||
}
|
}
|
||||||
if ($field_attribute[$i] != '') {
|
if ($field_attribute[$i] != '') {
|
||||||
$query .= ' ' . $field_attribute[$i];
|
$query .= ' ' . $field_attribute[$i];
|
||||||
} else if (PMA_MYSQL_INT_VERSION >= 40100 && isset($field_charset[$i]) && $field_charset[$i] != '') {
|
} else if (PMA_MYSQL_INT_VERSION >= 40100 && isset($field_collation[$i]) && $field_collation[$i] != '') {
|
||||||
$query .= ' CHARACTER SET ' . $field_charset[$i];
|
list($tmp_charset) = explode('_', $field_collation[$i]);
|
||||||
|
$query .= ' CHARACTER SET ' . $tmp_charset . ' COLLATE ' . $field_collation[$i];
|
||||||
|
unset($tmp_charset);
|
||||||
}
|
}
|
||||||
if ($field_default[$i] != '') {
|
if ($field_default[$i] != '') {
|
||||||
if (strtoupper($field_default[$i]) == 'NULL') {
|
if (strtoupper($field_default[$i]) == 'NULL') {
|
||||||
|
Reference in New Issue
Block a user