bug shortcut, thanks Sebastian
This commit is contained in:
@@ -113,7 +113,7 @@ foreach ($the_tables as $key => $table) {
|
|||||||
// We need this to correctly learn if a TIMESTAMP is NOT NULL, since
|
// We need this to correctly learn if a TIMESTAMP is NOT NULL, since
|
||||||
// SHOW FULL FIELDS or INFORMATION_SCHEMA incorrectly says NULL
|
// SHOW FULL FIELDS or INFORMATION_SCHEMA incorrectly says NULL
|
||||||
// and SHOW CREATE TABLE says NOT NULL (tested
|
// 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).
|
// in MySQL 4.0.25 and 5.0.21, http://bugs.mysql.com/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),
|
||||||
|
@@ -87,7 +87,7 @@ $fields_cnt = PMA_DBI_num_rows($fields_rs);
|
|||||||
// 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 or INFORMATION_SCHEMA incorrectly says NULL
|
// SHOW FULL FIELDS or INFORMATION_SCHEMA incorrectly says NULL
|
||||||
// and SHOW CREATE TABLE says NOT NULL (tested
|
// 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).
|
// in MySQL 4.0.25 and 5.0.21, http://bugs.mysql.com/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