bug 857743

This commit is contained in:
Marc Delisle
2003-12-11 17:03:05 +00:00
parent 9d5504973a
commit e367824eff
2 changed files with 2 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ $Source$
2003-12-11 Marc Delisle <lem9@users.sourceforge.net>
* 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 <bleibtallesanders@derrabus.de>
* server_collations.php, lang/*.inc.php, libraries/mysql_charsets.lib.php:

View File

@@ -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