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
6dc2d581
Commit
6dc2d581
authored
Mar 15, 2017
by
Sergei Petrunia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make rocksdb.rocksdb_range pass: MariaDB doesnt support ICP over reverse index scans atm
parent
c010f063
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
storage/rocksdb/mysql-test/rocksdb/r/rocksdb_range.result
storage/rocksdb/mysql-test/rocksdb/r/rocksdb_range.result
+4
-1
storage/rocksdb/mysql-test/rocksdb/t/rocksdb_range.test
storage/rocksdb/mysql-test/rocksdb/t/rocksdb_range.test
+3
-0
No files found.
storage/rocksdb/mysql-test/rocksdb/r/rocksdb_range.result
View file @
6dc2d581
...
...
@@ -198,10 +198,13 @@ max(pk)
# #48: index_read_map(HA_READ_PREFIX_LAST) does not work in reverse CF
#
# Tests for search_flag=HA_READ_PREFIX_LAST_OR_PREV
# Note: the next explain has "Using index condition" in fb/mysql-5.6
# but "Using where" in MariaDB because the latter does not
# support ICP over reverse scans.
explain
select * from t2 where a between 99 and 2000 order by a desc;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t2 range a a 4 NULL # Using
index condition
1 SIMPLE t2 range a a 4 NULL # Using
where
select * from t2 where a between 99 and 2000 order by a desc;
pk a b
999 99 999
...
...
storage/rocksdb/mysql-test/rocksdb/t/rocksdb_range.test
View file @
6dc2d581
...
...
@@ -128,6 +128,9 @@ select max(pk) from t3 where a=3 and pk < 33;
--
echo
#
--
echo
# Tests for search_flag=HA_READ_PREFIX_LAST_OR_PREV
--
echo
# Note: the next explain has "Using index condition" in fb/mysql-5.6
--
echo
# but "Using where" in MariaDB because the latter does not
--
echo
# support ICP over reverse scans.
--
replace_column
9
#
explain
select
*
from
t2
where
a
between
99
and
2000
order
by
a
desc
;
...
...
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