summaryrefslogtreecommitdiff
path: root/storage/tokudb/mysql-test/tokudb/r/card_sk.result
blob: 310fc863a9b0e02af57aa9dc53f07a0b07268f54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
set default_storage_engine='tokudb';
drop table if exists tt;
create table tt (a int, b int, key(b));
insert into tt values (1,0),(2,1),(3,2),(4,3);
insert into tt values (5,0),(6,1),(7,2),(8,3);
show indexes from tt;
Table	Non_unique	Key_name	Seq_in_index	Column_name	Collation	Cardinality	Sub_part	Packed	Null	Index_type	Comment	Index_comment
tt	1	b	1	b	A	8	NULL	NULL	YES	BTREE		
analyze table tt;
Table	Op	Msg_type	Msg_text
test.tt	analyze	status	OK
show indexes from tt;
Table	Non_unique	Key_name	Seq_in_index	Column_name	Collation	Cardinality	Sub_part	Packed	Null	Index_type	Comment	Index_comment
tt	1	b	1	b	A	8	NULL	NULL	YES	BTREE		
flush tables;
show indexes from tt;
Table	Non_unique	Key_name	Seq_in_index	Column_name	Collation	Cardinality	Sub_part	Packed	Null	Index_type	Comment	Index_comment
tt	1	b	1	b	A	8	NULL	NULL	YES	BTREE		
drop table tt;