bug #1207212, changing table type under MySQL 5.0.4
This commit is contained in:
@@ -8,6 +8,8 @@ $Source$
|
||||
2005-05-24 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* libraries/common.lib.php: bug #1207395, undefined theme_generation
|
||||
and theme_version, thanks to Ryan Schmidt
|
||||
* tbl_properties_operations.php: bug #1207212, changing table type
|
||||
under MySQL 5.0.4
|
||||
|
||||
2005-05-22 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* libraries/charset_conversion.lib.php: diacritics wrongly converted
|
||||
|
@@ -2,7 +2,6 @@
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
|
||||
/**
|
||||
* Runs common work
|
||||
*/
|
||||
@@ -38,7 +37,7 @@ if (isset($submitcomment)) {
|
||||
}
|
||||
}
|
||||
if (isset($submittype)) {
|
||||
$sql_query = 'ALTER TABLE ' . PMA_backquote($table) . ' TYPE = ' . $tbl_type;
|
||||
$sql_query = 'ALTER TABLE ' . PMA_backquote($table) . ' TYPE = ' . $new_tbl_type;
|
||||
$result = PMA_DBI_query($sql_query);
|
||||
$message = $strSuccess;
|
||||
}
|
||||
@@ -325,7 +324,7 @@ for ($i = 0; $i < $num_dbs; $i++) {
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="<?php echo $cfg['BgcolorOne']; ?>">
|
||||
<?php echo PMA_generateEnginesDropdown('tbl_type', NULL, FALSE, $tbl_type, 4); ?>
|
||||
<?php echo PMA_generateEnginesDropdown('new_tbl_type', NULL, FALSE, $tbl_type, 4); ?>
|
||||
</td>
|
||||
<td bgcolor="<?php echo $cfg['BgcolorOne']; ?>" align="right">
|
||||
<input type="submit" name="submittype" value="<?php echo $strGo; ?>" />
|
||||
|
Reference in New Issue
Block a user