diff --git a/ChangeLog b/ChangeLog index b8e36e4ed..50fbb1e09 100755 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,7 @@ $Source$ 2003-12-11 Marc Delisle * tbl_replace.php: missing number of rows for Affected rows and Inserted rows; wrong message for insert ids + * libraries/display_tbl.lib.php: bug 857743, SHOW DATABASES 2003-12-11 Alexander M. Turek * server_collations.php, lang/*.inc.php, libraries/mysql_charsets.lib.php: diff --git a/libraries/display_tbl.lib.php b/libraries/display_tbl.lib.php index cc20e4721..f12c62a5b 100644 --- a/libraries/display_tbl.lib.php +++ b/libraries/display_tbl.lib.php @@ -92,7 +92,7 @@ function PMA_setDisplayMode(&$the_disp_mode, &$the_total) // 2.2 Statement is a "SHOW..." else if ($GLOBALS['is_show']) { // 2.2.1 TODO : defines edit/delete links depending on show statement - $tmp = preg_match('@^SHOW[[:space:]]+(VARIABLES|(FULL[[:space:]]+)?PROCESSLIST|STATUS|TABLE|GRANTS|CREATE|LOGS)@i', $GLOBALS['sql_query'], $which); + $tmp = preg_match('@^SHOW[[:space:]]+(VARIABLES|(FULL[[:space:]]+)?PROCESSLIST|STATUS|TABLE|GRANTS|CREATE|LOGS|DATABASES)@i', $GLOBALS['sql_query'], $which); if (strpos(' ' . strtoupper($which[1]), 'PROCESSLIST') > 0) { $do_display['edit_lnk'] = 'nn'; // no edit link $do_display['del_lnk'] = 'kp'; // "kill process" type edit link