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
30c36b2c
Commit
30c36b2c
authored
Aug 07, 2017
by
Sergei Petrunia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make rocksdb.rocksdb_icp test stable
parent
1fad491c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
storage/rocksdb/mysql-test/rocksdb/r/rocksdb_icp.result
storage/rocksdb/mysql-test/rocksdb/r/rocksdb_icp.result
+2
-2
storage/rocksdb/mysql-test/rocksdb/t/rocksdb_icp.test
storage/rocksdb/mysql-test/rocksdb/t/rocksdb_icp.test
+2
-2
No files found.
storage/rocksdb/mysql-test/rocksdb/r/rocksdb_icp.result
View file @
30c36b2c
...
@@ -240,12 +240,12 @@ A.a+10*B.a+100*C.a,
...
@@ -240,12 +240,12 @@ A.a+10*B.a+100*C.a,
from t0 A, t0 B, t0 C;
from t0 A, t0 B, t0 C;
set @count=0;
set @count=0;
explain
explain
select * from t1 where key1=1;
select * from t1
force index(key1)
where key1=1;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 ref key1 key1 9 const #
1 SIMPLE t1 ref key1 key1 9 const #
set @count_diff =(select (value - @count) from information_schema.rocksdb_perf_context
set @count_diff =(select (value - @count) from information_schema.rocksdb_perf_context
where table_schema=database() and table_name='t1' and stat_type='INTERNAL_KEY_SKIPPED_COUNT');
where table_schema=database() and table_name='t1' and stat_type='INTERNAL_KEY_SKIPPED_COUNT');
select * from t1 where key1=1;
select * from t1
force index(key1)
where key1=1;
pk key1 col1
pk key1 col1
1 1 1234
1 1 1234
set @count_diff =(select (value - @count) from information_schema.rocksdb_perf_context
set @count_diff =(select (value - @count) from information_schema.rocksdb_perf_context
...
...
storage/rocksdb/mysql-test/rocksdb/t/rocksdb_icp.test
View file @
30c36b2c
...
@@ -32,10 +32,10 @@ set @count_diff =(select (value - @count) from information_schema.rocksdb_perf_c
...
@@ -32,10 +32,10 @@ set @count_diff =(select (value - @count) from information_schema.rocksdb_perf_c
--
replace_column
9
#
--
replace_column
9
#
explain
explain
select
*
from
t1
where
key1
=
1
;
select
*
from
t1
force
index
(
key1
)
where
key1
=
1
;
eval
$save_query
;
eval
$save_query
;
select
*
from
t1
where
key1
=
1
;
select
*
from
t1
force
index
(
key1
)
where
key1
=
1
;
eval
$save_query
;
eval
$save_query
;
--
echo
# The following must be =1, or in any case not 999:
--
echo
# The following must be =1, or in any case not 999:
select
@
count_diff
as
"INTERNAL_KEY_SKIPPED_COUNT increment"
;
select
@
count_diff
as
"INTERNAL_KEY_SKIPPED_COUNT increment"
;
...
...
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