Commit 2b1d690e authored by Rich Prohaska's avatar Rich Prohaska

refs #6372 redo ext keys so that we dont have to upgrade the frm files

git-svn-id: file:///svn/mysql/tests/mysql-test@55232 c7de825b-a66e-492c-adef-691d508d4ae1
parent 3c911fc1
130408 13:12:25 mysqld_safe Starting mysqld daemon with databases from /home/prohaska/our.distros/mysql-5.5.28-tokudb-6.6.8-54738-linux-x86_64/data
130408 13:12:25 [Note] Plugin 'FEDERATED' is disabled.
130408 13:12:25 InnoDB: The InnoDB memory heap is disabled
130408 13:12:25 InnoDB: Mutexes and rw_locks use GCC atomic builtins
130408 13:12:25 InnoDB: Compressed tables use zlib 1.2.3
130408 13:12:25 InnoDB: Using Linux native AIO
130408 13:12:25 InnoDB: Initializing buffer pool, size = 128.0M
130408 13:12:25 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
130408 13:12:25 InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
130408 13:12:25 InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
130408 13:12:25 InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: 127 rollback segment(s) active.
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
130408 13:12:25 InnoDB: 1.1.8 started; log sequence number 0
130408 13:12:26 [Note] Server hostname (bind-address): '0.0.0.0'; port: 100000
130408 13:12:26 [Note] - '0.0.0.0' resolves to '0.0.0.0';
130408 13:12:26 [Note] Server socket created on IP: '0.0.0.0'.
130408 13:12:26 [Note] Event Scheduler: Loaded 0 events
130408 13:12:26 [Note] /home/prohaska/our.distros/mysql-5.5.28-tokudb-6.6.8-54738-linux-x86_64/bin/mysqld: ready for connections.
Version: '5.5.28' socket: '/tmp/rfp.sock' port: 100000 MySQL Community Server (GPL)
130408 13:18:22 [Note] /home/prohaska/our.distros/mysql-5.5.28-tokudb-6.6.8-54738-linux-x86_64/bin/mysqld: Normal shutdown
130408 13:18:22 [Note] Event Scheduler: Purging the queue. 0 events
130408 13:18:22 InnoDB: Starting shutdown...
130408 13:18:23 InnoDB: Shutdown completed; log sequence number 1595675
130408 13:18:23 [Note] /home/prohaska/our.distros/mysql-5.5.28-tokudb-6.6.8-54738-linux-x86_64/bin/mysqld: Shutdown complete
130408 13:18:23 mysqld_safe mysqld from pid file /home/prohaska/our.distros/mysql-5.5.28-tokudb-6.6.8-54738-linux-x86_64/data/lex1.tokutek.com.pid ended
create table tc (a int, b int, c int, primary key(a), key(b)) partition by hash(a) partitions 2;
select * from information_schema.tokudb_file_map;
dictionary_name internal_file_name
./test/ta#P#p0-key-b ./_test_ta_P_p0_key_b_9_17.tokudb
./test/ta#P#p0-main ./_test_ta_P_p0_main_8_17.tokudb
./test/ta#P#p0-status ./_test_ta_P_p0_status_7_17.tokudb
./test/ta#P#p1-key-b ./_test_ta_P_p1_key_b_d_17.tokudb
./test/ta#P#p1-main ./_test_ta_P_p1_main_c_17.tokudb
./test/ta#P#p1-status ./_test_ta_P_p1_status_b_17.tokudb
./test/tc#P#p0-key-b ./_test_tc_P_p0_key_b_1f_3_18.tokudb
./test/tc#P#p0-main ./_test_tc_P_p0_main_1f_2_18.tokudb
./test/tc#P#p0-status ./_test_tc_P_p0_status_1f_1_18.tokudb
./test/tc#P#p1-key-b ./_test_tc_P_p1_key_b_20_3_18.tokudb
./test/tc#P#p1-main ./_test_tc_P_p1_main_20_2_18.tokudb
./test/tc#P#p1-status ./_test_tc_P_p1_status_20_1_18.tokudb
tokudb_meta ./tokudb_meta_3_17.tokudb
select dictionary_name from information_schema.tokudb_file_map;
dictionary_name
./test/ta#P#p0-key-b
./test/ta#P#p0-main
./test/ta#P#p0-status
./test/ta#P#p1-key-b
./test/ta#P#p1-main
./test/ta#P#p1-status
./test/tc#P#p0-key-b
./test/tc#P#p0-main
./test/tc#P#p0-status
./test/tc#P#p1-key-b
./test/tc#P#p1-main
./test/tc#P#p1-status
tokudb_meta
drop table ta;
select * from information_schema.tokudb_file_map;
dictionary_name internal_file_name
./test/tc#P#p0-key-b ./_test_tc_P_p0_key_b_1f_3_18.tokudb
./test/tc#P#p0-main ./_test_tc_P_p0_main_1f_2_18.tokudb
./test/tc#P#p0-status ./_test_tc_P_p0_status_1f_1_18.tokudb
./test/tc#P#p1-key-b ./_test_tc_P_p1_key_b_20_3_18.tokudb
./test/tc#P#p1-main ./_test_tc_P_p1_main_20_2_18.tokudb
./test/tc#P#p1-status ./_test_tc_P_p1_status_20_1_18.tokudb
tokudb_meta ./tokudb_meta_3_17.tokudb
select dictionary_name from information_schema.tokudb_file_map;
dictionary_name
./test/tc#P#p0-key-b
./test/tc#P#p0-main
./test/tc#P#p0-status
./test/tc#P#p1-key-b
./test/tc#P#p1-main
./test/tc#P#p1-status
tokudb_meta
drop table tc;
select * from information_schema.tokudb_file_map;
dictionary_name internal_file_name
tokudb_meta ./tokudb_meta_3_17.tokudb
select dictionary_name from information_schema.tokudb_file_map;
dictionary_name
tokudb_meta
......@@ -11,23 +11,23 @@ dictionary_name internal_file_name
./test/tc-status ./_test_tc_status_12_1_18.tokudb
tokudb_meta ./tokudb_meta_3_17.tokudb
drop table ta;
select * from information_schema.tokudb_file_map;
dictionary_name internal_file_name
./test/tb-key-b ./_test_tb_key_b_e_17.tokudb
./test/tb-main ./_test_tb_main_d_17.tokudb
./test/tb-status ./_test_tb_status_c_17.tokudb
./test/tc-key-x ./_test_tc_key_x_12_3_18.tokudb
./test/tc-main ./_test_tc_main_12_2_18.tokudb
./test/tc-status ./_test_tc_status_12_1_18.tokudb
tokudb_meta ./tokudb_meta_3_17.tokudb
select dictionary_name from information_schema.tokudb_file_map;
dictionary_name
./test/tb-key-b
./test/tb-main
./test/tb-status
./test/tc-key-x
./test/tc-main
./test/tc-status
tokudb_meta
drop table tb;
select * from information_schema.tokudb_file_map;
dictionary_name internal_file_name
./test/tc-key-x ./_test_tc_key_x_12_3_18.tokudb
./test/tc-main ./_test_tc_main_12_2_18.tokudb
./test/tc-status ./_test_tc_status_12_1_18.tokudb
tokudb_meta ./tokudb_meta_3_17.tokudb
select dictionary_name from information_schema.tokudb_file_map;
dictionary_name
./test/tc-key-x
./test/tc-main
./test/tc-status
tokudb_meta
drop table tc;
select * from information_schema.tokudb_file_map;
dictionary_name internal_file_name
tokudb_meta ./tokudb_meta_3_17.tokudb
select dictionary_name from information_schema.tokudb_file_map;
dictionary_name
tokudb_meta
# verify that we can drop partitioned tokudb tables created in tokudb 6.6.8
source include/have_tokudb.inc;
source include/have_partition.inc;
# capture the datadir
let $MYSQLD_DATADIR= `SELECT @@datadir`;
......@@ -33,11 +34,11 @@ EOF
create table tc (a int, b int, c int, primary key(a), key(b)) partition by hash(a) partitions 2;
# check that the tokudb meta data gets dropped when the table is dropped
select * from information_schema.tokudb_file_map;
select dictionary_name from information_schema.tokudb_file_map;
drop table ta;
select * from information_schema.tokudb_file_map;
select dictionary_name from information_schema.tokudb_file_map;
drop table tc;
select * from information_schema.tokudb_file_map;
select dictionary_name from information_schema.tokudb_file_map;
# check that the test dir is empty
list_files $MYSQLD_DATADIR/test *.frm;
......
......@@ -35,11 +35,11 @@ create table tc (id int, x int, primary key(id), key(x));
# check that the tokudb meta data gets dropped when the table is dropped
select * from information_schema.tokudb_file_map;
drop table ta;
select * from information_schema.tokudb_file_map;
select dictionary_name from information_schema.tokudb_file_map;
drop table tb;
select * from information_schema.tokudb_file_map;
select dictionary_name from information_schema.tokudb_file_map;
drop table tc;
select * from information_schema.tokudb_file_map;
select dictionary_name from information_schema.tokudb_file_map;
# check that the test dir is empty
list_files $MYSQLD_DATADIR/test *.frm;
......
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