Commit 138d6bf3 authored by John Esmet's avatar John Esmet

[t:3938] preliminary tests for 3938. more stressful tests are still on the

table.


git-svn-id: file:///svn/mysql/tests/mysql-test@35951 c7de825b-a66e-492c-adef-691d508d4ae1
parent 62151818
select * from information_schema.tokudb_user_data;
User Data Size
0
select * from information_schema.tokudb_user_data_exact;
User Data Size
0
uninstall plugin tokudb;
select * from information_schema.tokudb_user_data;
ERROR HY000: Plugin 'TokuDB' is not loaded
select * from information_schema.tokudb_user_data_exact;
ERROR HY000: Plugin 'TokuDB' is not loaded
install plugin tokudb soname 'ha_tokudb.so';
select * from information_schema.tokudb_user_data;
User Data Size
0
select * from information_schema.tokudb_user_data_exact;
User Data Size
0
# Tokutek
# Plugin synchronization tests
# get another connection
#connect(conn1,localhost,root);
#connection default;
# try to use the information schema while the plugin is installed,
# then while it is uninstalled
select * from information_schema.tokudb_user_data;
select * from information_schema.tokudb_user_data_exact;
uninstall plugin tokudb;
--error 1524
select * from information_schema.tokudb_user_data;
--error 1524
select * from information_schema.tokudb_user_data_exact;
install plugin tokudb soname 'ha_tokudb.so';
select * from information_schema.tokudb_user_data;
select * from information_schema.tokudb_user_data_exact;
# make a table
#--disable_warnings
#drop table if exists t;
#--enable_warnings
#set global storage_engine='tokudb';
#create table t (a int primary key, b int, c int, d int, e int);
# insert a bunch of stuff into the table.
#let $i = 5000;
#while ($i) {
# eval insert t values($i, $i, $i, $i, $i);
# dec $i;
#}
# try a tokudb_user_data_exact query
#connection default;
#send select * from information_schema.tokudb_user_data_exact;
# have the second connection uninstall the plugin while
# the query is processing
#connection conn1;
#uninstall plugin tokudb;
# reap the select query done before
#connection default;
#reap;
# clean up, this drop should finalize the uninstall
#connection conn1;
#drop table t;
#--sleep 2
#create table h (a int) engine = tokudb;
#drop table h;
#connection default;
# install plugin tokudb soname 'ha_tokudb.so';
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment