diff --git a/ChangeLog b/ChangeLog index f3fdce973..ff0360268 100755 --- a/ChangeLog +++ b/ChangeLog @@ -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ř * libraries/export/sql.php: Fixed export of '0' string (bug #1033869). diff --git a/db_datadict.php b/db_datadict.php index 4550b796d..50f7b19e3 100644 --- a/db_datadict.php +++ b/db_datadict.php @@ -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();