From 5e4b8158931d0c3c009d02ecabe8353230733d31 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Fri, 27 Jul 2012 16:08:09 -0700 Subject: [PATCH] Highlight also killed queries --- adminer/processlist.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adminer/processlist.inc.php b/adminer/processlist.inc.php index b751ea37..84c13606 100644 --- a/adminer/processlist.inc.php +++ b/adminer/processlist.inc.php @@ -24,7 +24,7 @@ foreach (process_list() as $i => $row) { echo "" . (support("kill") ? "" . checkbox("kill[]", $row["Id"], 0) : ""); foreach ($row as $key => $val) { echo "" . ( - ($jush == "sql" && $key == "Info" && $row["Command"] == "Query" && $val != "") || + ($jush == "sql" && $key == "Info" && ereg("Query|Killed", $row["Command"]) && $val != "") || ($jush == "pgsql" && $key == "current_query" && $val != "") || ($jush == "oracle" && $key == "sql_text" && $val != "") ? "" . shorten_utf8($val, 100, "") . ' ' . lang('Edit') . ''