summaryrefslogtreecommitdiff
path: root/mysql-test/r/status.result
diff options
context:
space:
mode:
authorunknown <ramil@mysql.com>2005-09-06 15:00:35 +0500
committerunknown <ramil@mysql.com>2005-09-06 15:00:35 +0500
commit811c6d216ec224a019dad5a99e356720677b6d22 (patch)
treec261ab180af03ac30a8a8be7a06d6b62b1ee74ee /mysql-test/r/status.result
parent2a0f9f33ed8a6f509807cbfd18de5f6f88f4ed6d (diff)
downloadmariadb-git-811c6d216ec224a019dad5a99e356720677b6d22.tar.gz
fix (bug #10303: Misleading Last_query_cost value).
sql/sql_cache.cc: fix (bug #10303: Misleading Last_query_cost value). set the last_query_cost to 0.0 in case we use the query cache.
Diffstat (limited to 'mysql-test/r/status.result')
-rw-r--r--mysql-test/r/status.result6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/r/status.result b/mysql-test/r/status.result
index e9616232fa1..5461e4dd563 100644
--- a/mysql-test/r/status.result
+++ b/mysql-test/r/status.result
@@ -17,3 +17,9 @@ Variable_name Value
Table_locks_immediate 3
Table_locks_waited 1
drop table t1;
+select 1;
+1
+1
+show status like 'last_query_cost';
+Variable_name Value
+Last_query_cost 0.000000