comment timestamp NULL bug

This commit is contained in:
Marc Delisle
2006-07-09 13:19:36 +00:00
parent 5304e6330d
commit 75f072baee

View File

@@ -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),