mariadb/mysql-test/suite/tokudb/r/hotindex-insert-2.result
Rich Prohaska fe88f46dad refs #6440 simplify the mysql tests for tokudb
git-svn-id: file:///svn/mysql/tests/mysql-test@54998 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-02 14:18:43 +00:00

17 lines
476 B
Text

SET DEFAULT_STORAGE_ENGINE='tokudb';
# Establish connection conn1 (user = root)
drop table if exists s;
create table s (a int auto_increment, b int, c int, primary key (a));
# populate table s
# done inserting elements
set tokudb_create_index_online=1;
create index i_a on s(c);
# starting insert while create index is happening
# done with insert
select count(*) from s use index(primary);
count(*)
100000
select count(*) from s use index(i_a);
count(*)
100000
drop table s;