bug 1034299 error in SHOW KEYS for data dict

This commit is contained in:
Marc Delisle
2004-09-24 20:50:17 +00:00
parent 3786133fb2
commit ab1eb332e0
2 changed files with 3 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ $Source$
* sql.php: following the fix for bug #978930, the added LIMIT was
not displayed anymore
* read_dump.php: bug #1033133, left frame not reloaded after dump read
* db_datadict.php: bug #1034299, error in SHOW KEYS for data dict
2004-09-24 Michal Čihař <michal@cihar.com>
* libraries/export/sql.php: Fixed export of '0' string (bug #1033869).

View File

@@ -85,6 +85,8 @@ while ($row = PMA_DBI_fetch_assoc($rowset)) {
/**
* Gets table keys and retains them
*/
PMA_DBI_select_db($db);
$result = PMA_DBI_query('SHOW KEYS FROM ' . PMA_backquote($table) . ';');
$primary = '';
$indexes = array();