Commit 9ca60802 authored by Sergei Petrunia's avatar Sergei Petrunia

MariaRocks port: make rocksdb.rocksdb_qcache test pass

parent 4faa9da8
......@@ -28,9 +28,11 @@ pk c
show status like 'Qcache_hits';
Variable_name Value
Qcache_hits 0
# MariaDB: Qcache_not_cached is not incremented for select sql_no_cache queries
# so the following query produces 2, not 3:
show status like 'Qcache_not_cached';
Variable_name Value
Qcache_not_cached 3
Qcache_not_cached 2
show global status like 'Qcache_hits';
Variable_name Value
Qcache_hits 0
......
......@@ -24,6 +24,8 @@ select * from t1;
select sql_no_cache * from t1;
select * from t1 where pk = 1;
show status like 'Qcache_hits';
--echo # MariaDB: Qcache_not_cached is not incremented for select sql_no_cache queries
--echo # so the following query produces 2, not 3:
show status like 'Qcache_not_cached';
show global status like 'Qcache_hits';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment