MySQL bug #20910 fixed in 5.0.25 (http://dev.mysql.com/doc/refman/5.0/en/news-5-0-25.html)
This commit is contained in:
@@ -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';
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user