More show create queries
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
parent
2b1234cff4
commit
8b0088163d
@ -194,11 +194,8 @@ $fields = (array) $GLOBALS['dbi']->getColumns($db, $table, null, true);
|
||||
// and SHOW CREATE TABLE says NOT NULL (tested
|
||||
// in MySQL 4.0.25 and 5.0.21, http://bugs.mysql.com/20910).
|
||||
|
||||
$show_create_table = $GLOBALS['dbi']->fetchValue(
|
||||
'SHOW CREATE TABLE ' . PMA_Util::backquote($db) . '.'
|
||||
. PMA_Util::backquote($table),
|
||||
0, 1
|
||||
);
|
||||
$tableObj = new PMA_Table($table, $db);
|
||||
$show_create_table = $tableObj->showCreate();
|
||||
$parser = new SqlParser\Parser($show_create_table);
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user