bug 1225635, cannot change table's collation under MySQL 5.0.4
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2005-06-28 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* tbl_properties_operations.php: bug #1225635,
|
||||
cannot change table's collation under MySQL 5.0.4
|
||||
|
||||
2005-06-27 Michal Čihař <michal@cihar.com>
|
||||
* config.inc.php: Better comments describing multi server setup (patch
|
||||
#1226666).
|
||||
|
@@ -42,6 +42,10 @@ if (isset($submittype)) {
|
||||
$message = $strSuccess;
|
||||
}
|
||||
if (isset($submitcollation)) {
|
||||
// since something modifies $tbl_collation between the moment it is
|
||||
// set from $_POST and this point, need to restore it
|
||||
// (bug seen in MySQL 5.0.4)
|
||||
$tbl_collation = $_POST['tbl_collation'];
|
||||
$sql_query = 'ALTER TABLE ' . PMA_backquote($table) . ' DEFAULT' . PMA_generateCharsetQueryPart($tbl_collation);
|
||||
$result = PMA_DBI_query($sql_query);
|
||||
$message = $strSuccess;
|
||||
|
Reference in New Issue
Block a user