]> git.joonet.de Git - adminer.git/commitdiff
Unhighlight Binlog Dump in process list
authorJakub Vrana <jakub@vrana.cz>
Fri, 29 Jun 2012 17:29:46 +0000 (10:29 -0700)
committerJakub Vrana <jakub@vrana.cz>
Fri, 29 Jun 2012 17:29:46 +0000 (10:29 -0700)
adminer/processlist.inc.php

index 7753b36b8e6a37473a3222d2acbb43e10be48fc0..b751ea37f56468ac0eb0fa94324fa69bcb8b200a 100644 (file)
@@ -24,7 +24,7 @@ foreach (process_list() as $i => $row) {
        echo "<tr" . odd() . ">" . (support("kill") ? "<td>" . checkbox("kill[]", $row["Id"], 0) : "");
        foreach ($row as $key => $val) {
                echo "<td>" . (
-                       ($jush == "sql" && $key == "Info" && $val != "") ||
+                       ($jush == "sql" && $key == "Info" && $row["Command"] == "Query" && $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>'