diff --git a/adminer/sql.inc.php b/adminer/sql.inc.php index 7e50cddb..c78a03de 100644 --- a/adminer/sql.inc.php +++ b/adminer/sql.inc.php @@ -73,9 +73,9 @@ if (!$error && $_POST) { $result = $connection->store_result(); if (is_object($result)) { select($result, $connection2); - echo "
" . lang('%d row(s)', $result->num_rows); if ($connection2 && preg_match("~^$space*SELECT$space+~isU", $q)) { $id = "explain-$explain"; + echo "
" . lang('%d row(s)', $result->num_rows); echo ", EXPLAIN\n"; echo "