File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
storage/rocksdb/mysql-test/rocksdb Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 28
28
show status like 'Qcache_hits';
29
29
Variable_name Value
30
30
Qcache_hits 0
31
+ # MariaDB: Qcache_not_cached is not incremented for select sql_no_cache queries
32
+ # so the following query produces 2, not 3:
31
33
show status like 'Qcache_not_cached';
32
34
Variable_name Value
33
- Qcache_not_cached 3
35
+ Qcache_not_cached 2
34
36
show global status like 'Qcache_hits';
35
37
Variable_name Value
36
38
Qcache_hits 0
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ select * from t1;
24
24
select sql_no_cache * from t1;
25
25
select * from t1 where pk = 1;
26
26
show status like 'Qcache_hits';
27
+ --echo # MariaDB: Qcache_not_cached is not incremented for select sql_no_cache queries
28
+ --echo # so the following query produces 2, not 3:
27
29
show status like 'Qcache_not_cached';
28
30
show global status like 'Qcache_hits';
29
31
You can’t perform that action at this time.
0 commit comments