mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
MariaRocks port: make rocksdb.rocksdb_qcache test pass
This commit is contained in:
parent
4faa9da81c
commit
9ca608028f
2 changed files with 5 additions and 1 deletions
|
@ -28,9 +28,11 @@ pk c
|
||||||
show status like 'Qcache_hits';
|
show status like 'Qcache_hits';
|
||||||
Variable_name Value
|
Variable_name Value
|
||||||
Qcache_hits 0
|
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';
|
show status like 'Qcache_not_cached';
|
||||||
Variable_name Value
|
Variable_name Value
|
||||||
Qcache_not_cached 3
|
Qcache_not_cached 2
|
||||||
show global status like 'Qcache_hits';
|
show global status like 'Qcache_hits';
|
||||||
Variable_name Value
|
Variable_name Value
|
||||||
Qcache_hits 0
|
Qcache_hits 0
|
||||||
|
|
|
@ -24,6 +24,8 @@ select * from t1;
|
||||||
select sql_no_cache * from t1;
|
select sql_no_cache * from t1;
|
||||||
select * from t1 where pk = 1;
|
select * from t1 where pk = 1;
|
||||||
show status like 'Qcache_hits';
|
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 status like 'Qcache_not_cached';
|
||||||
show global status like 'Qcache_hits';
|
show global status like 'Qcache_hits';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue