Field charset information got lost when changing fields.
This commit is contained in:
@@ -6,8 +6,10 @@ $Id$
|
|||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
2004-04-17 Alexander M. Turek <me@derrabus.de>
|
2004-04-17 Alexander M. Turek <me@derrabus.de>
|
||||||
* db_create.php, main.php, libraries/mysql_charsets.lib.php:
|
* db_create.php, db_details_structure.php, db_details_common.php, main.php,
|
||||||
|
libraries/mysql_charsets.lib.php:
|
||||||
Added ability to set / alter collations on database level.
|
Added ability to set / alter collations on database level.
|
||||||
|
* tbl_alter.php: Charset information got lost when changing fields.
|
||||||
|
|
||||||
2004-04-16 Marc Delisle <lem9@users.sourceforge.net>
|
2004-04-16 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* lang/french update
|
* lang/french update
|
||||||
|
@@ -174,7 +174,7 @@ if ($abort == FALSE) {
|
|||||||
} else {
|
} else {
|
||||||
$field = PMA_sqlAddslashes($selected[$i], TRUE);
|
$field = PMA_sqlAddslashes($selected[$i], TRUE);
|
||||||
}
|
}
|
||||||
$result = PMA_DBI_query('SHOW FIELDS FROM ' . PMA_backquote($table) . ' FROM ' . PMA_backquote($db) . ' LIKE \'' . $field . '\';');
|
$result = PMA_DBI_query('SHOW FULL FIELDS FROM ' . PMA_backquote($table) . ' FROM ' . PMA_backquote($db) . ' LIKE \'' . $field . '\';');
|
||||||
$fields_meta[] = PMA_DBI_fetch_assoc($result);
|
$fields_meta[] = PMA_DBI_fetch_assoc($result);
|
||||||
PMA_DBI_free_result($result);
|
PMA_DBI_free_result($result);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user