comment timestamp NULL bug
This commit is contained in:
@@ -85,8 +85,9 @@ $fields_cnt = PMA_DBI_num_rows($fields_rs);
|
|||||||
// the info given by SHOW FULL FIELDS FROM.
|
// the info given by SHOW FULL FIELDS FROM.
|
||||||
//
|
//
|
||||||
// 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 or INFORMATION_SCHEMA incorrectly says NULL
|
||||||
// in MySQL 4.0.25).
|
// 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_DBI_fetch_value(
|
||||||
'SHOW CREATE TABLE ' . PMA_backquote($db) . '.' . PMA_backquote($table),
|
'SHOW CREATE TABLE ' . PMA_backquote($db) . '.' . PMA_backquote($table),
|
||||||
|
Reference in New Issue
Block a user