This commit is contained in:
Sebastian Mendel
2007-12-12 08:53:34 +00:00
parent ea594740ca
commit 0ced617aff

View File

@@ -184,6 +184,7 @@ if ($abort == FALSE) {
* or maybe make it part of PMA_DBI_get_fields(); * or maybe make it part of PMA_DBI_get_fields();
*/ */
if (PMA_MYSQL_INT_VERSION < 50025) {
// We also need this to correctly learn if a TIMESTAMP is NOT NULL, since // We also need this to correctly learn if a TIMESTAMP is NOT NULL, since
// SHOW FULL FIELDS says NULL and SHOW CREATE TABLE says NOT NULL (tested // SHOW FULL FIELDS says NULL and SHOW CREATE TABLE says NOT NULL (tested
// in MySQL 4.0.25). // in MySQL 4.0.25).
@@ -192,6 +193,7 @@ if ($abort == FALSE) {
'SHOW CREATE TABLE ' . PMA_backquote($db) . '.' . PMA_backquote($table), 'SHOW CREATE TABLE ' . PMA_backquote($db) . '.' . PMA_backquote($table),
0, 1); 0, 1);
$analyzed_sql = PMA_SQP_analyze(PMA_SQP_parse($show_create_table)); $analyzed_sql = PMA_SQP_analyze(PMA_SQP_parse($show_create_table));
}
require './libraries/tbl_properties.inc.php'; require './libraries/tbl_properties.inc.php';
} }