From 75f072baeeea49cc5ecedaf9136e3ada38710e55 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sun, 9 Jul 2006 13:19:36 +0000 Subject: [PATCH] comment timestamp NULL bug --- tbl_properties_structure.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tbl_properties_structure.php b/tbl_properties_structure.php index 417407764..56a602584 100644 --- a/tbl_properties_structure.php +++ b/tbl_properties_structure.php @@ -85,8 +85,9 @@ $fields_cnt = PMA_DBI_num_rows($fields_rs); // the info given by SHOW FULL FIELDS FROM. // // 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 -// in MySQL 4.0.25). +// SHOW FULL FIELDS or INFORMATION_SCHEMA incorrectly says NULL +// and SHOW CREATE TABLE says NOT NULL (tested +// in MySQL 4.0.25 and 5.0.21, http://bugs.mysql.com/bug.php?id=20910). $show_create_table = PMA_DBI_fetch_value( 'SHOW CREATE TABLE ' . PMA_backquote($db) . '.' . PMA_backquote($table),