Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Highlight also killed queries

  • Loading branch information...
commit 5e4b8158931d0c3c009d02ecabe8353230733d31 1 parent a227ec1
@vrana authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  adminer/processlist.inc.php
View
2  adminer/processlist.inc.php
@@ -24,7 +24,7 @@
echo "<tr" . odd() . ">" . (support("kill") ? "<td>" . checkbox("kill[]", $row["Id"], 0) : "");
foreach ($row as $key => $val) {
echo "<td>" . (
- ($jush == "sql" && $key == "Info" && $row["Command"] == "Query" && $val != "") ||
+ ($jush == "sql" && $key == "Info" && ereg("Query|Killed", $row["Command"]) && $val != "") ||
($jush == "pgsql" && $key == "current_query" && $val != "<IDLE>") ||
($jush == "oracle" && $key == "sql_text" && $val != "")
? "<code class='jush-$jush'>" . shorten_utf8($val, 100, "</code>") . ' <a href="' . h(ME . ($row["db"] != "" ? "db=" . urlencode($row["db"]) . "&" : "") . "sql=" . urlencode($val)) . '">' . lang('Edit') . '</a>'
Please sign in to comment.
Something went wrong with that request. Please try again.