Changing a table's charset changed the charset of all fields (MySQL >= 4.1.1).
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2004-01-05 Alexander M. Turek <rumors@derrabus.de>
|
||||||
|
* tbl_properties_operations.php: Changing a table's charset changed the
|
||||||
|
charset of all fields (MySQL >= 4.1.1).
|
||||||
|
|
||||||
2004-01-04 Alexander M. Turek <beggaronabeachofgold@derrabus.de>
|
2004-01-04 Alexander M. Turek <beggaronabeachofgold@derrabus.de>
|
||||||
* libraries/config_import.lib.php: Added missing compatibility code for
|
* libraries/config_import.lib.php: Added missing compatibility code for
|
||||||
$cfg['RecodingEngine'].
|
$cfg['RecodingEngine'].
|
||||||
|
@@ -38,7 +38,7 @@ if (isset($submittype)) {
|
|||||||
$message = $strSuccess;
|
$message = $strSuccess;
|
||||||
}
|
}
|
||||||
if (isset($submitcharset)) {
|
if (isset($submitcharset)) {
|
||||||
$sql_query = 'ALTER TABLE ' . PMA_backquote($table) . ' CHARACTER SET = ' . $tbl_charset;
|
$sql_query = 'ALTER TABLE ' . PMA_backquote($table) . ' DEFAULT CHARACTER SET = ' . $tbl_charset;
|
||||||
$result = PMA_mysql_query($sql_query, $userlink) or PMA_mysqlDie(PMA_mysql_error($userlink), $sql_query, '', $err_url);
|
$result = PMA_mysql_query($sql_query, $userlink) or PMA_mysqlDie(PMA_mysql_error($userlink), $sql_query, '', $err_url);
|
||||||
$message = $strSuccess;
|
$message = $strSuccess;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user