bug #1444892, TYPE deprecated in MySQL 5.1

This commit is contained in:
Marc Delisle
2006-03-08 18:07:55 +00:00
parent 55c79bdf7c
commit 4d359e7e2f
4 changed files with 17 additions and 4 deletions

View File

@@ -148,8 +148,8 @@ if (isset($submit_num_fields)) {
// Adds table type, character set and comments
if (!empty($tbl_type) && ($tbl_type != 'Default')) {
$sql_query .= ' TYPE = ' . $tbl_type;
$query_cpy .= "\n" . 'TYPE = ' . $tbl_type;
$sql_query .= ' ' . PMA_ENGINE_KEYWORD . ' = ' . $tbl_type;
$query_cpy .= "\n" . PMA_ENGINE_KEYWORD . ' = ' . $tbl_type;
}
if (PMA_MYSQL_INT_VERSION >= 40100 && !empty($tbl_collation)) {
$sql_query .= PMA_generateCharsetQueryPart($tbl_collation);