Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
9ca60802
Commit
9ca60802
authored
Dec 27, 2016
by
Sergei Petrunia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MariaRocks port: make rocksdb.rocksdb_qcache test pass
parent
4faa9da8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
storage/rocksdb/mysql-test/rocksdb/r/rocksdb_qcache.result
storage/rocksdb/mysql-test/rocksdb/r/rocksdb_qcache.result
+3
-1
storage/rocksdb/mysql-test/rocksdb/t/rocksdb_qcache.test
storage/rocksdb/mysql-test/rocksdb/t/rocksdb_qcache.test
+2
-0
No files found.
storage/rocksdb/mysql-test/rocksdb/r/rocksdb_qcache.result
View file @
9ca60802
...
...
@@ -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
...
...
storage/rocksdb/mysql-test/rocksdb/t/rocksdb_qcache.test
View file @
9ca60802
...
...
@@ -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'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment