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
d1a43973
Commit
d1a43973
authored
Apr 26, 2019
by
Varun Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjusted result for tokudb_bugs.db756_card_part_hash_2_pick
parent
87472974
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
storage/tokudb/mysql-test/tokudb_bugs/r/db756_card_part_hash_2_pick.result
...sql-test/tokudb_bugs/r/db756_card_part_hash_2_pick.result
+3
-0
storage/tokudb/mysql-test/tokudb_bugs/t/db756_card_part_hash_2_pick.test
...mysql-test/tokudb_bugs/t/db756_card_part_hash_2_pick.test
+4
-0
No files found.
storage/tokudb/mysql-test/tokudb_bugs/r/db756_card_part_hash_2_pick.result
View file @
d1a43973
set default_storage_engine='tokudb';
drop table if exists t;
set @save_use_stat_tables= @@use_stat_tables;
set @@use_stat_tables= 'COMPLEMENTARY';
create table t (id int, x int, primary key (id), key (x)) partition by hash(id) partitions 2;
show indexes from t;
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_comment
...
...
@@ -19,4 +21,5 @@ show indexes from t;
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_comment
t 0 PRIMARY 1 id A 7 NULL NULL BTREE
t 1 x 1 x A 7 NULL NULL YES BTREE
set @@use_stat_tables= @save_use_stat_tables;
drop table t;
storage/tokudb/mysql-test/tokudb_bugs/t/db756_card_part_hash_2_pick.test
View file @
d1a43973
...
...
@@ -5,6 +5,9 @@ set default_storage_engine='tokudb';
disable_warnings
;
drop
table
if
exists
t
;
enable_warnings
;
set
@
save_use_stat_tables
=
@@
use_stat_tables
;
set
@@
use_stat_tables
=
'COMPLEMENTARY'
;
create
table
t
(
id
int
,
x
int
,
primary
key
(
id
),
key
(
x
))
partition
by
hash
(
id
)
partitions
2
;
show
indexes
from
t
;
insert
into
t
values
(
1
,
1
),(
3
,
2
),(
5
,
3
),(
7
,
4
);
...
...
@@ -12,4 +15,5 @@ insert into t values (2,1),(4,1),(6,1);
show
indexes
from
t
;
analyze
table
t
;
show
indexes
from
t
;
set
@@
use_stat_tables
=
@
save_use_stat_tables
;
drop
table
t
;
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