mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-11426 Remove InnoDB INFORMATION_SCHEMA.FILES implementation
MySQL 5.7 introduced WL#7943: InnoDB: Implement Information_Schema.Files to provide a long-term alternative for accessing tablespace metadata. The INFORMATION_SCHEMA.INNODB_* views are considered internal interfaces that are subject to change or removal between releases. So, users should refer to I_S.FILES instead of I_S.INNODB_SYS_TABLESPACES to fetch metadata about CREATE TABLESPACE. Because MariaDB 10.2 does not support CREATE TABLESPACE or CREATE TABLE…TABLESPACE for InnoDB, it does not make sense to support I_S.FILES either. So, let MariaDB 10.2 omit the code that was added in MySQL 5.7. After this change, I_S.FILES will report the empty result, unless some other storage engine in MariaDB 10.2 implements the interface. (The I_S.FILES interface was originally created for the NDB Cluster.)
This commit is contained in:
@ -41,12 +41,6 @@ test/t1 Single DEFAULT 0 Compact or Redundant MYSQLD_DATADIR/test/t1.ibd
|
||||
test/t2 Single DEFAULT 0 Compact or Redundant MYSQLD_DATADIR/test/t2.ibd
|
||||
test/t3 Single DEFAULT 8192 Compressed MYSQLD_DATADIR/test/t3.ibd
|
||||
test/t4 Single DEFAULT 0 Dynamic MYSQLD_DATADIR/test/t4.ibd
|
||||
=== information_schema.files ===
|
||||
Space_Name File_Type Engine Status Tablespace_Name Path
|
||||
test/t1 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t1.ibd
|
||||
test/t2 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t2.ibd
|
||||
test/t3 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t3.ibd
|
||||
test/t4 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t4.ibd
|
||||
DROP TABLE t1, t2, t3, t4;
|
||||
# Test 4) The maximum row size is dependent upon the page size.
|
||||
# Redundant: 8123, Compact: 8126.
|
||||
|
@ -20,28 +20,8 @@ WHERE t.table_id = i.table_id
|
||||
AND t.name LIKE 'mysql%'
|
||||
ORDER BY t.name, i.index_id;
|
||||
table_name n_cols table_flags index_name root_page type n_fields merge_threshold
|
||||
mysql/engine_cost 9 33 PRIMARY 3 3 3 50
|
||||
mysql/gtid_executed 6 33 PRIMARY 3 3 2 50
|
||||
mysql/help_category 7 33 PRIMARY 3 3 1 50
|
||||
mysql/help_category 7 33 name 4 2 1 50
|
||||
mysql/help_keyword 5 33 PRIMARY 3 3 1 50
|
||||
mysql/help_keyword 5 33 name 4 2 1 50
|
||||
mysql/help_relation 5 33 PRIMARY 3 3 2 50
|
||||
mysql/help_topic 9 33 PRIMARY 3 3 1 50
|
||||
mysql/help_topic 9 33 name 4 2 1 50
|
||||
mysql/innodb_index_stats 11 33 PRIMARY 3 3 4 50
|
||||
mysql/innodb_table_stats 9 33 PRIMARY 3 3 2 50
|
||||
mysql/plugin 5 33 PRIMARY 3 3 1 50
|
||||
mysql/servers 12 33 PRIMARY 3 3 1 50
|
||||
mysql/server_cost 7 33 PRIMARY 3 3 1 50
|
||||
mysql/slave_master_info 28 33 PRIMARY 3 3 1 50
|
||||
mysql/slave_relay_log_info 12 33 PRIMARY 3 3 1 50
|
||||
mysql/slave_worker_info 16 33 PRIMARY 3 3 2 50
|
||||
mysql/time_zone 5 33 PRIMARY 3 3 1 50
|
||||
mysql/time_zone_leap_second 5 33 PRIMARY 3 3 1 50
|
||||
mysql/time_zone_name 5 33 PRIMARY 3 3 1 50
|
||||
mysql/time_zone_transition 6 33 PRIMARY 3 3 2 50
|
||||
mysql/time_zone_transition_type 8 33 PRIMARY 3 3 2 50
|
||||
CREATE TABLE t1 (a INT KEY, b TEXT) ROW_FORMAT=REDUNDANT ENGINE=innodb;
|
||||
CREATE TABLE t2 (a INT KEY, b TEXT) ROW_FORMAT=COMPACT ENGINE=innodb;
|
||||
CREATE TABLE t3 (a INT KEY, b TEXT) ROW_FORMAT=COMPRESSED ENGINE=innodb;
|
||||
@ -65,12 +45,6 @@ test/t1 Single DEFAULT 0 Compact or Redundant MYSQLD_DATADIR/test/t1.ibd
|
||||
test/t2 Single DEFAULT 0 Compact or Redundant MYSQLD_DATADIR/test/t2.ibd
|
||||
test/t3 Single DEFAULT 2048 Compressed MYSQLD_DATADIR/test/t3.ibd
|
||||
test/t4 Single DEFAULT 0 Dynamic MYSQLD_DATADIR/test/t4.ibd
|
||||
=== information_schema.files ===
|
||||
Space_Name File_Type Engine Status Tablespace_Name Path
|
||||
test/t1 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t1.ibd
|
||||
test/t2 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t2.ibd
|
||||
test/t3 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t3.ibd
|
||||
test/t4 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t4.ibd
|
||||
DROP TABLE t1, t2, t3, t4;
|
||||
# Test 4) The maximum row size is dependent upon the page size.
|
||||
# Redundant: 1979, Compact: 1982.
|
||||
@ -153,38 +127,40 @@ ERROR 42000: Specified key was too long; max key length is 768 bytes
|
||||
# in strict mode and converted to 4 in non-strict mode.
|
||||
SET SESSION innodb_strict_mode = ON;
|
||||
CREATE TABLE t1 (i int) ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=16;
|
||||
ERROR HY000: Table storage engine for 't1' doesn't have this option
|
||||
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
Warning 1478 InnoDB: KEY_BLOCK_SIZE=16 cannot be larger than 4.
|
||||
Error 1031 Table storage engine for 't1' doesn't have this option
|
||||
Error 1005 Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
||||
Warning 1030 Got error 140 "Wrong create options" from storage engine InnoDB
|
||||
CREATE TABLE t1 ( i INT ) ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=8;
|
||||
ERROR HY000: Table storage engine for 't1' doesn't have this option
|
||||
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
Warning 1478 InnoDB: KEY_BLOCK_SIZE=8 cannot be larger than 4.
|
||||
Error 1031 Table storage engine for 't1' doesn't have this option
|
||||
Error 1005 Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
||||
Warning 1030 Got error 140 "Wrong create options" from storage engine InnoDB
|
||||
CREATE TABLE t1 ( i INT ) ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=4;
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
SELECT table_name, row_format, create_options
|
||||
FROM information_schema.tables WHERE table_name = 't1';
|
||||
table_name row_format create_options
|
||||
t1 Compressed row_format=COMPRESSED KEY_BLOCK_SIZE=4
|
||||
t1 Compressed row_format=COMPRESSED key_block_size=4
|
||||
ALTER TABLE t1 KEY_BLOCK_SIZE=2;
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
SELECT table_name, row_format, create_options
|
||||
FROM information_schema.tables WHERE table_name = 't1';
|
||||
table_name row_format create_options
|
||||
t1 Compressed row_format=COMPRESSED KEY_BLOCK_SIZE=2
|
||||
t1 Compressed row_format=COMPRESSED key_block_size=2
|
||||
ALTER TABLE t1 KEY_BLOCK_SIZE=1;
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
SELECT table_name, row_format, create_options
|
||||
FROM information_schema.tables WHERE table_name = 't1';
|
||||
table_name row_format create_options
|
||||
t1 Compressed row_format=COMPRESSED KEY_BLOCK_SIZE=1
|
||||
t1 Compressed row_format=COMPRESSED key_block_size=1
|
||||
ALTER TABLE t1 KEY_BLOCK_SIZE=0;
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
@ -203,7 +179,7 @@ Warning 1478 InnoDB: ignoring KEY_BLOCK_SIZE=16.
|
||||
SELECT table_name, row_format, create_options
|
||||
FROM information_schema.tables WHERE table_name = 't1';
|
||||
table_name row_format create_options
|
||||
t1 Compressed row_format=COMPRESSED KEY_BLOCK_SIZE=16
|
||||
t1 Compressed row_format=COMPRESSED key_block_size=16
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1 ( i INT ) ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=8;
|
||||
Warnings:
|
||||
@ -214,7 +190,7 @@ Warning 1478 InnoDB: ignoring KEY_BLOCK_SIZE=8.
|
||||
SELECT table_name, row_format, create_options
|
||||
FROM information_schema.tables WHERE table_name = 't1';
|
||||
table_name row_format create_options
|
||||
t1 Compressed row_format=COMPRESSED KEY_BLOCK_SIZE=8
|
||||
t1 Compressed row_format=COMPRESSED key_block_size=8
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1 ( i INT ) ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=4;
|
||||
SHOW WARNINGS;
|
||||
@ -222,21 +198,21 @@ Level Code Message
|
||||
SELECT table_name, row_format, create_options
|
||||
FROM information_schema.tables WHERE table_name = 't1';
|
||||
table_name row_format create_options
|
||||
t1 Compressed row_format=COMPRESSED KEY_BLOCK_SIZE=4
|
||||
t1 Compressed row_format=COMPRESSED key_block_size=4
|
||||
ALTER TABLE t1 KEY_BLOCK_SIZE=2;
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
SELECT table_name, row_format, create_options
|
||||
FROM information_schema.tables WHERE table_name = 't1';
|
||||
table_name row_format create_options
|
||||
t1 Compressed row_format=COMPRESSED KEY_BLOCK_SIZE=2
|
||||
t1 Compressed row_format=COMPRESSED key_block_size=2
|
||||
ALTER TABLE t1 KEY_BLOCK_SIZE=1;
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
SELECT table_name, row_format, create_options
|
||||
FROM information_schema.tables WHERE table_name = 't1';
|
||||
table_name row_format create_options
|
||||
t1 Compressed row_format=COMPRESSED KEY_BLOCK_SIZE=1
|
||||
t1 Compressed row_format=COMPRESSED key_block_size=1
|
||||
ALTER TABLE t1 KEY_BLOCK_SIZE=0;
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
@ -253,37 +229,41 @@ SHOW VARIABLES LIKE 'innodb_file_per_table';
|
||||
Variable_name Value
|
||||
innodb_file_per_table OFF
|
||||
CREATE TABLE t4 (id int PRIMARY KEY) ENGINE=innodb KEY_BLOCK_SIZE=8;
|
||||
ERROR HY000: Table storage engine for 't4' doesn't have this option
|
||||
ERROR HY000: Can't create table `test`.`t4` (errno: 140 "Wrong create options")
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
Warning 1478 InnoDB: KEY_BLOCK_SIZE=8 cannot be larger than 4.
|
||||
Warning 1478 InnoDB: KEY_BLOCK_SIZE requires innodb_file_per_table.
|
||||
Error 1031 Table storage engine for 't4' doesn't have this option
|
||||
Error 1005 Can't create table `test`.`t4` (errno: 140 "Wrong create options")
|
||||
Warning 1030 Got error 140 "Wrong create options" from storage engine InnoDB
|
||||
CREATE TABLE t5 (id int PRIMARY KEY) ENGINE=innodb KEY_BLOCK_SIZE=16;
|
||||
ERROR HY000: Table storage engine for 't5' doesn't have this option
|
||||
ERROR HY000: Can't create table `test`.`t5` (errno: 140 "Wrong create options")
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
Warning 1478 InnoDB: KEY_BLOCK_SIZE=16 cannot be larger than 4.
|
||||
Warning 1478 InnoDB: KEY_BLOCK_SIZE requires innodb_file_per_table.
|
||||
Error 1031 Table storage engine for 't5' doesn't have this option
|
||||
Error 1005 Can't create table `test`.`t5` (errno: 140 "Wrong create options")
|
||||
Warning 1030 Got error 140 "Wrong create options" from storage engine InnoDB
|
||||
SET GLOBAL innodb_file_per_table = ON;
|
||||
SET GLOBAL innodb_file_format = `Antelope`;
|
||||
Warnings:
|
||||
Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html
|
||||
CREATE TABLE t4 (id int PRIMARY KEY) ENGINE=innodb KEY_BLOCK_SIZE=8;
|
||||
ERROR HY000: Table storage engine for 't4' doesn't have this option
|
||||
ERROR HY000: Can't create table `test`.`t4` (errno: 140 "Wrong create options")
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
Warning 1478 InnoDB: KEY_BLOCK_SIZE=8 cannot be larger than 4.
|
||||
Warning 1478 InnoDB: KEY_BLOCK_SIZE requires innodb_file_format > Antelope.
|
||||
Error 1031 Table storage engine for 't4' doesn't have this option
|
||||
Error 1005 Can't create table `test`.`t4` (errno: 140 "Wrong create options")
|
||||
Warning 1030 Got error 140 "Wrong create options" from storage engine InnoDB
|
||||
CREATE TABLE t5 (id int PRIMARY KEY) ENGINE=innodb KEY_BLOCK_SIZE=16;
|
||||
ERROR HY000: Table storage engine for 't5' doesn't have this option
|
||||
ERROR HY000: Can't create table `test`.`t5` (errno: 140 "Wrong create options")
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
Warning 1478 InnoDB: KEY_BLOCK_SIZE=16 cannot be larger than 4.
|
||||
Warning 1478 InnoDB: KEY_BLOCK_SIZE requires innodb_file_format > Antelope.
|
||||
Error 1031 Table storage engine for 't5' doesn't have this option
|
||||
Error 1005 Can't create table `test`.`t5` (errno: 140 "Wrong create options")
|
||||
Warning 1030 Got error 140 "Wrong create options" from storage engine InnoDB
|
||||
SET GLOBAL innodb_file_format = `Barracuda`;
|
||||
Warnings:
|
||||
Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html
|
||||
@ -307,7 +287,7 @@ k=@c,l=@c,m=@c,n=@c,o=@c,p=@c,q=@c,r=@c,s=@c,t=@c,u=@c;
|
||||
CREATE INDEX t1b ON t1 (b(767));
|
||||
UPDATE t1 SET a=@d,b=@d,c=@d,d=@d,e=@d,f=@d,g=@d,h=@d,i=@d,j=@d,
|
||||
k=@d,l=@d,m=@d,n=@d,o=@d,p=@d,q=@d,r=@d,s=@d,t=@d,u=@d;
|
||||
ERROR HY000: Undo log record is too big.
|
||||
ERROR HY000: Undo log record is too big
|
||||
BEGIN;
|
||||
UPDATE t1 SET a=@d,b=@d,c=@d,d=@d,e=@d;
|
||||
UPDATE t1 SET f=@d,g=@d,h=@d,i=@d,j=@d,k=@d,l=@d,m=@d,
|
||||
@ -317,32 +297,32 @@ CREATE INDEX t1c ON t1 (c(767));
|
||||
UPDATE t1 SET c=@e;
|
||||
CREATE INDEX t1d ON t1 (d(767));
|
||||
UPDATE t1 SET d=@e;
|
||||
ERROR HY000: Undo log record is too big.
|
||||
ERROR HY000: Undo log record is too big
|
||||
CREATE INDEX t1e ON t1 (e(767));
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`a` blob,
|
||||
`b` blob,
|
||||
`c` blob,
|
||||
`d` blob,
|
||||
`e` blob,
|
||||
`f` blob,
|
||||
`g` blob,
|
||||
`h` blob,
|
||||
`i` blob,
|
||||
`j` blob,
|
||||
`k` blob,
|
||||
`l` blob,
|
||||
`m` blob,
|
||||
`n` blob,
|
||||
`o` blob,
|
||||
`p` blob,
|
||||
`q` blob,
|
||||
`r` blob,
|
||||
`s` blob,
|
||||
`t` blob,
|
||||
`u` blob,
|
||||
`a` blob DEFAULT NULL,
|
||||
`b` blob DEFAULT NULL,
|
||||
`c` blob DEFAULT NULL,
|
||||
`d` blob DEFAULT NULL,
|
||||
`e` blob DEFAULT NULL,
|
||||
`f` blob DEFAULT NULL,
|
||||
`g` blob DEFAULT NULL,
|
||||
`h` blob DEFAULT NULL,
|
||||
`i` blob DEFAULT NULL,
|
||||
`j` blob DEFAULT NULL,
|
||||
`k` blob DEFAULT NULL,
|
||||
`l` blob DEFAULT NULL,
|
||||
`m` blob DEFAULT NULL,
|
||||
`n` blob DEFAULT NULL,
|
||||
`o` blob DEFAULT NULL,
|
||||
`p` blob DEFAULT NULL,
|
||||
`q` blob DEFAULT NULL,
|
||||
`r` blob DEFAULT NULL,
|
||||
`s` blob DEFAULT NULL,
|
||||
`t` blob DEFAULT NULL,
|
||||
`u` blob DEFAULT NULL,
|
||||
KEY `t1a` (`a`(767)),
|
||||
KEY `t1b` (`b`(767)),
|
||||
KEY `t1c` (`c`(767)),
|
||||
|
@ -20,28 +20,8 @@ WHERE t.table_id = i.table_id
|
||||
AND t.name LIKE 'mysql%'
|
||||
ORDER BY t.name, i.index_id;
|
||||
table_name n_cols table_flags index_name root_page type n_fields merge_threshold
|
||||
mysql/engine_cost 9 33 PRIMARY 3 3 3 50
|
||||
mysql/gtid_executed 6 33 PRIMARY 3 3 2 50
|
||||
mysql/help_category 7 33 PRIMARY 3 3 1 50
|
||||
mysql/help_category 7 33 name 4 2 1 50
|
||||
mysql/help_keyword 5 33 PRIMARY 3 3 1 50
|
||||
mysql/help_keyword 5 33 name 4 2 1 50
|
||||
mysql/help_relation 5 33 PRIMARY 3 3 2 50
|
||||
mysql/help_topic 9 33 PRIMARY 3 3 1 50
|
||||
mysql/help_topic 9 33 name 4 2 1 50
|
||||
mysql/innodb_index_stats 11 33 PRIMARY 3 3 4 50
|
||||
mysql/innodb_table_stats 9 33 PRIMARY 3 3 2 50
|
||||
mysql/plugin 5 33 PRIMARY 3 3 1 50
|
||||
mysql/servers 12 33 PRIMARY 3 3 1 50
|
||||
mysql/server_cost 7 33 PRIMARY 3 3 1 50
|
||||
mysql/slave_master_info 28 33 PRIMARY 3 3 1 50
|
||||
mysql/slave_relay_log_info 12 33 PRIMARY 3 3 1 50
|
||||
mysql/slave_worker_info 16 33 PRIMARY 3 3 2 50
|
||||
mysql/time_zone 5 33 PRIMARY 3 3 1 50
|
||||
mysql/time_zone_leap_second 5 33 PRIMARY 3 3 1 50
|
||||
mysql/time_zone_name 5 33 PRIMARY 3 3 1 50
|
||||
mysql/time_zone_transition 6 33 PRIMARY 3 3 2 50
|
||||
mysql/time_zone_transition_type 8 33 PRIMARY 3 3 2 50
|
||||
CREATE TABLE t1 (a INT KEY, b TEXT) ROW_FORMAT=REDUNDANT ENGINE=innodb;
|
||||
CREATE TABLE t2 (a INT KEY, b TEXT) ROW_FORMAT=COMPACT ENGINE=innodb;
|
||||
CREATE TABLE t3 (a INT KEY, b TEXT) ROW_FORMAT=COMPRESSED ENGINE=innodb;
|
||||
@ -65,12 +45,6 @@ test/t1 Single DEFAULT 0 Compact or Redundant MYSQLD_DATADIR/test/t1.ibd
|
||||
test/t2 Single DEFAULT 0 Compact or Redundant MYSQLD_DATADIR/test/t2.ibd
|
||||
test/t3 Single DEFAULT 4096 Compressed MYSQLD_DATADIR/test/t3.ibd
|
||||
test/t4 Single DEFAULT 0 Dynamic MYSQLD_DATADIR/test/t4.ibd
|
||||
=== information_schema.files ===
|
||||
Space_Name File_Type Engine Status Tablespace_Name Path
|
||||
test/t1 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t1.ibd
|
||||
test/t2 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t2.ibd
|
||||
test/t3 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t3.ibd
|
||||
test/t4 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t4.ibd
|
||||
DROP TABLE t1, t2, t3, t4;
|
||||
# Test 4) The maximum row size is dependent upon the page size.
|
||||
# Redundant: 4027, Compact: 4030.
|
||||
@ -169,39 +143,40 @@ ERROR 42000: Specified key was too long; max key length is 1536 bytes
|
||||
# strict mode and converted to 8 in non-strict mode.
|
||||
SET SESSION innodb_strict_mode = ON;
|
||||
CREATE TABLE t1 (i int) ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=16;
|
||||
ERROR HY000: Table storage engine for 't1' doesn't have this option
|
||||
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
Warning 1478 InnoDB: KEY_BLOCK_SIZE=16 cannot be larger than 8.
|
||||
Error 1031 Table storage engine for 't1' doesn't have this option
|
||||
Error 1005 Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
||||
Warning 1030 Got error 140 "Wrong create options" from storage engine InnoDB
|
||||
CREATE TABLE t1 ( i INT ) ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=8;
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
SELECT table_name, row_format, create_options
|
||||
FROM information_schema.tables WHERE table_name = 't1';
|
||||
table_name row_format create_options
|
||||
t1 Compressed row_format=COMPRESSED KEY_BLOCK_SIZE=8
|
||||
t1 Compressed row_format=COMPRESSED key_block_size=8
|
||||
ALTER TABLE t1 KEY_BLOCK_SIZE=4;
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
SELECT table_name, row_format, create_options
|
||||
FROM information_schema.tables WHERE table_name = 't1';
|
||||
table_name row_format create_options
|
||||
t1 Compressed row_format=COMPRESSED KEY_BLOCK_SIZE=4
|
||||
t1 Compressed row_format=COMPRESSED key_block_size=4
|
||||
ALTER TABLE t1 KEY_BLOCK_SIZE=2;
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
SELECT table_name, row_format, create_options
|
||||
FROM information_schema.tables WHERE table_name = 't1';
|
||||
table_name row_format create_options
|
||||
t1 Compressed row_format=COMPRESSED KEY_BLOCK_SIZE=2
|
||||
t1 Compressed row_format=COMPRESSED key_block_size=2
|
||||
ALTER TABLE t1 KEY_BLOCK_SIZE=1;
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
SELECT table_name, row_format, create_options
|
||||
FROM information_schema.tables WHERE table_name = 't1';
|
||||
table_name row_format create_options
|
||||
t1 Compressed row_format=COMPRESSED KEY_BLOCK_SIZE=1
|
||||
t1 Compressed row_format=COMPRESSED key_block_size=1
|
||||
ALTER TABLE t1 KEY_BLOCK_SIZE=0;
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
@ -220,7 +195,7 @@ Warning 1478 InnoDB: ignoring KEY_BLOCK_SIZE=16.
|
||||
SELECT table_name, row_format, create_options
|
||||
FROM information_schema.tables WHERE table_name = 't1';
|
||||
table_name row_format create_options
|
||||
t1 Compressed row_format=COMPRESSED KEY_BLOCK_SIZE=16
|
||||
t1 Compressed row_format=COMPRESSED key_block_size=16
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1 ( i INT ) ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=8;
|
||||
SHOW WARNINGS;
|
||||
@ -228,7 +203,7 @@ Level Code Message
|
||||
SELECT table_name, row_format, create_options
|
||||
FROM information_schema.tables WHERE table_name = 't1';
|
||||
table_name row_format create_options
|
||||
t1 Compressed row_format=COMPRESSED KEY_BLOCK_SIZE=8
|
||||
t1 Compressed row_format=COMPRESSED key_block_size=8
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1 ( i INT ) ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=4;
|
||||
SHOW WARNINGS;
|
||||
@ -236,21 +211,21 @@ Level Code Message
|
||||
SELECT table_name, row_format, create_options
|
||||
FROM information_schema.tables WHERE table_name = 't1';
|
||||
table_name row_format create_options
|
||||
t1 Compressed row_format=COMPRESSED KEY_BLOCK_SIZE=4
|
||||
t1 Compressed row_format=COMPRESSED key_block_size=4
|
||||
ALTER TABLE t1 KEY_BLOCK_SIZE=2;
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
SELECT table_name, row_format, create_options
|
||||
FROM information_schema.tables WHERE table_name = 't1';
|
||||
table_name row_format create_options
|
||||
t1 Compressed row_format=COMPRESSED KEY_BLOCK_SIZE=2
|
||||
t1 Compressed row_format=COMPRESSED key_block_size=2
|
||||
ALTER TABLE t1 KEY_BLOCK_SIZE=1;
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
SELECT table_name, row_format, create_options
|
||||
FROM information_schema.tables WHERE table_name = 't1';
|
||||
table_name row_format create_options
|
||||
t1 Compressed row_format=COMPRESSED KEY_BLOCK_SIZE=1
|
||||
t1 Compressed row_format=COMPRESSED key_block_size=1
|
||||
ALTER TABLE t1 KEY_BLOCK_SIZE=0;
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
@ -267,35 +242,39 @@ SHOW VARIABLES LIKE 'innodb_file_per_table';
|
||||
Variable_name Value
|
||||
innodb_file_per_table OFF
|
||||
CREATE TABLE t4 (id int PRIMARY KEY) ENGINE=innodb KEY_BLOCK_SIZE=8;
|
||||
ERROR HY000: Table storage engine for 't4' doesn't have this option
|
||||
ERROR HY000: Can't create table `test`.`t4` (errno: 140 "Wrong create options")
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
Warning 1478 InnoDB: KEY_BLOCK_SIZE requires innodb_file_per_table.
|
||||
Error 1031 Table storage engine for 't4' doesn't have this option
|
||||
Error 1005 Can't create table `test`.`t4` (errno: 140 "Wrong create options")
|
||||
Warning 1030 Got error 140 "Wrong create options" from storage engine InnoDB
|
||||
CREATE TABLE t5 (id int PRIMARY KEY) ENGINE=innodb KEY_BLOCK_SIZE=16;
|
||||
ERROR HY000: Table storage engine for 't5' doesn't have this option
|
||||
ERROR HY000: Can't create table `test`.`t5` (errno: 140 "Wrong create options")
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
Warning 1478 InnoDB: KEY_BLOCK_SIZE=16 cannot be larger than 8.
|
||||
Warning 1478 InnoDB: KEY_BLOCK_SIZE requires innodb_file_per_table.
|
||||
Error 1031 Table storage engine for 't5' doesn't have this option
|
||||
Error 1005 Can't create table `test`.`t5` (errno: 140 "Wrong create options")
|
||||
Warning 1030 Got error 140 "Wrong create options" from storage engine InnoDB
|
||||
SET GLOBAL innodb_file_per_table = ON;
|
||||
SET GLOBAL innodb_file_format = `Antelope`;
|
||||
Warnings:
|
||||
Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html
|
||||
CREATE TABLE t4 (id int PRIMARY KEY) ENGINE=innodb KEY_BLOCK_SIZE=8;
|
||||
ERROR HY000: Table storage engine for 't4' doesn't have this option
|
||||
ERROR HY000: Can't create table `test`.`t4` (errno: 140 "Wrong create options")
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
Warning 1478 InnoDB: KEY_BLOCK_SIZE requires innodb_file_format > Antelope.
|
||||
Error 1031 Table storage engine for 't4' doesn't have this option
|
||||
Error 1005 Can't create table `test`.`t4` (errno: 140 "Wrong create options")
|
||||
Warning 1030 Got error 140 "Wrong create options" from storage engine InnoDB
|
||||
CREATE TABLE t5 (id int PRIMARY KEY) ENGINE=innodb KEY_BLOCK_SIZE=16;
|
||||
ERROR HY000: Table storage engine for 't5' doesn't have this option
|
||||
ERROR HY000: Can't create table `test`.`t5` (errno: 140 "Wrong create options")
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
Warning 1478 InnoDB: KEY_BLOCK_SIZE=16 cannot be larger than 8.
|
||||
Warning 1478 InnoDB: KEY_BLOCK_SIZE requires innodb_file_format > Antelope.
|
||||
Error 1031 Table storage engine for 't5' doesn't have this option
|
||||
Error 1005 Can't create table `test`.`t5` (errno: 140 "Wrong create options")
|
||||
Warning 1030 Got error 140 "Wrong create options" from storage engine InnoDB
|
||||
SET GLOBAL innodb_file_format = `Barracuda`;
|
||||
Warnings:
|
||||
Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html
|
||||
@ -320,7 +299,7 @@ k=@c,l=@c,m=@c,n=@c,o=@c,p=@c,q=@c,r=@c,s=@c,t=@c,u=@c;
|
||||
CREATE INDEX t1c ON t1 (c(767));
|
||||
UPDATE t1 SET a=@d,b=@d,c=@d,d=@d,e=@d,f=@d,g=@d,h=@d,i=@d,j=@d,
|
||||
k=@d,l=@d,m=@d,n=@d,o=@d,p=@d,q=@d,r=@d,s=@d,t=@d,u=@d;
|
||||
ERROR HY000: Undo log record is too big.
|
||||
ERROR HY000: Undo log record is too big
|
||||
BEGIN;
|
||||
UPDATE t1 SET a=@d,b=@d,c=@d,d=@d,e=@d;
|
||||
UPDATE t1 SET f=@d,g=@d,h=@d,i=@d,j=@d,k=@d,l=@d,m=@d,
|
||||
@ -341,31 +320,31 @@ UPDATE t1 SET i=@e;
|
||||
CREATE INDEX t1k ON t1 (j(767));
|
||||
CREATE INDEX t1j ON t1 (j(500));
|
||||
UPDATE t1 SET j=@e;
|
||||
ERROR HY000: Undo log record is too big.
|
||||
ERROR HY000: Undo log record is too big
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`a` blob,
|
||||
`b` blob,
|
||||
`c` blob,
|
||||
`d` blob,
|
||||
`e` blob,
|
||||
`f` blob,
|
||||
`g` blob,
|
||||
`h` blob,
|
||||
`i` blob,
|
||||
`j` blob,
|
||||
`k` blob,
|
||||
`l` blob,
|
||||
`m` blob,
|
||||
`n` blob,
|
||||
`o` blob,
|
||||
`p` blob,
|
||||
`q` blob,
|
||||
`r` blob,
|
||||
`s` blob,
|
||||
`t` blob,
|
||||
`u` blob,
|
||||
`a` blob DEFAULT NULL,
|
||||
`b` blob DEFAULT NULL,
|
||||
`c` blob DEFAULT NULL,
|
||||
`d` blob DEFAULT NULL,
|
||||
`e` blob DEFAULT NULL,
|
||||
`f` blob DEFAULT NULL,
|
||||
`g` blob DEFAULT NULL,
|
||||
`h` blob DEFAULT NULL,
|
||||
`i` blob DEFAULT NULL,
|
||||
`j` blob DEFAULT NULL,
|
||||
`k` blob DEFAULT NULL,
|
||||
`l` blob DEFAULT NULL,
|
||||
`m` blob DEFAULT NULL,
|
||||
`n` blob DEFAULT NULL,
|
||||
`o` blob DEFAULT NULL,
|
||||
`p` blob DEFAULT NULL,
|
||||
`q` blob DEFAULT NULL,
|
||||
`r` blob DEFAULT NULL,
|
||||
`s` blob DEFAULT NULL,
|
||||
`t` blob DEFAULT NULL,
|
||||
`u` blob DEFAULT NULL,
|
||||
KEY `t1a` (`a`(767)),
|
||||
KEY `t1b` (`b`(767)),
|
||||
KEY `t1c` (`c`(767)),
|
||||
|
@ -21,7 +21,7 @@ t1_restart CREATE TABLE `t1_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1000000027 DEFAULT CHARSET=latin1 ROW_FORMAT=REDUNDANT
|
||||
SELECT count(*) FROM t1_restart;
|
||||
@ -44,7 +44,7 @@ t2_restart CREATE TABLE `t2_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1000000027 DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT
|
||||
SELECT count(*) FROM t2_restart;
|
||||
@ -67,7 +67,7 @@ t3_restart CREATE TABLE `t3_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1000000027 DEFAULT CHARSET=latin1 ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=2
|
||||
SELECT count(*) FROM t3_restart;
|
||||
@ -90,7 +90,7 @@ t4_restart CREATE TABLE `t4_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1000000027 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC
|
||||
SELECT count(*) FROM t4_restart;
|
||||
@ -113,7 +113,7 @@ t5_restart CREATE TABLE `t5_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1000000027 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC DATA DIRECTORY='MYSQL_TMP_DIR/alt_dir/'
|
||||
SELECT count(*) FROM t5_restart;
|
||||
@ -142,13 +142,13 @@ t6_restart CREATE TABLE `t6_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=latin1 ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=2
|
||||
/*!50100 PARTITION BY HASH (c1)
|
||||
(PARTITION p0 DATA DIRECTORY = 'MYSQL_TMP_DIR/alt_dir/' ENGINE = InnoDB,
|
||||
PARTITION p1 DATA DIRECTORY = 'MYSQL_TMP_DIR/alt_dir/' ENGINE = InnoDB,
|
||||
PARTITION p2 DATA DIRECTORY = 'MYSQL_TMP_DIR/alt_dir/' ENGINE = InnoDB) */
|
||||
(PARTITION p0 DATA DIRECTORY = 'MYSQL_TMP_DIR/alt_dir' ENGINE = InnoDB,
|
||||
PARTITION p1 DATA DIRECTORY = 'MYSQL_TMP_DIR/alt_dir' ENGINE = InnoDB,
|
||||
PARTITION p2 DATA DIRECTORY = 'MYSQL_TMP_DIR/alt_dir' ENGINE = InnoDB) */
|
||||
SELECT count(*) FROM t6_restart;
|
||||
count(*)
|
||||
16
|
||||
@ -178,65 +178,21 @@ t7_restart CREATE TABLE `t7_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC
|
||||
/*!50100 PARTITION BY RANGE (c1)
|
||||
SUBPARTITION BY HASH (c1)
|
||||
(PARTITION p0 VALUES LESS THAN (10)
|
||||
(SUBPARTITION s0 DATA DIRECTORY = 'MYSQL_TMP_DIR/alt_dir/' ENGINE = InnoDB,
|
||||
SUBPARTITION s1 DATA DIRECTORY = 'MYSQL_TMP_DIR/alt_dir/' ENGINE = InnoDB),
|
||||
(SUBPARTITION s0 DATA DIRECTORY = 'MYSQL_TMP_DIR/alt_dir' ENGINE = InnoDB,
|
||||
SUBPARTITION s1 DATA DIRECTORY = 'MYSQL_TMP_DIR/alt_dir' ENGINE = InnoDB),
|
||||
PARTITION p1 VALUES LESS THAN MAXVALUE
|
||||
(SUBPARTITION s2 DATA DIRECTORY = 'MYSQL_TMP_DIR/alt_dir/' ENGINE = InnoDB,
|
||||
SUBPARTITION s3 DATA DIRECTORY = 'MYSQL_TMP_DIR/alt_dir/' ENGINE = InnoDB)) */
|
||||
(SUBPARTITION s2 DATA DIRECTORY = 'MYSQL_TMP_DIR/alt_dir' ENGINE = InnoDB,
|
||||
SUBPARTITION s3 DATA DIRECTORY = 'MYSQL_TMP_DIR/alt_dir' ENGINE = InnoDB)) */
|
||||
SELECT count(*) FROM t7_restart;
|
||||
count(*)
|
||||
16
|
||||
#
|
||||
# Create and insert records into a table that uses a general tablespace.
|
||||
#
|
||||
CREATE TABLESPACE s1_restart ADD DATAFILE 's1_restart.ibd';
|
||||
CREATE TABLE t8_restart(c1 DOUBLE AUTO_INCREMENT KEY, c2 CHAR(10), c3 VARCHAR(100), c4 DATE, c5 TEXT)
|
||||
ROW_FORMAT=COMPACT ENGINE=InnoDB TABLESPACE=s1_restart;
|
||||
INSERT INTO t8_restart VALUES (1000000000, 'MySQL', 'InnoDB', '2011-11-11', 'Read this after reboot');
|
||||
INSERT INTO t8_restart (SELECT 0, c2, c3, c4, c5 FROM t2_restart);
|
||||
INSERT INTO t8_restart (SELECT 0, c2, c3, c4, c5 FROM t2_restart);
|
||||
INSERT INTO t8_restart (SELECT 0, c2, c3, c4, c5 FROM t2_restart);
|
||||
INSERT INTO t8_restart (SELECT 0, c2, c3, c4, c5 FROM t2_restart);
|
||||
SHOW CREATE TABLE t8_restart;
|
||||
Table Create Table
|
||||
t8_restart CREATE TABLE `t8_restart` (
|
||||
`c1` double NOT NULL AUTO_INCREMENT,
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
PRIMARY KEY (`c1`)
|
||||
) /*!50100 TABLESPACE `s1_restart` */ ENGINE=InnoDB AUTO_INCREMENT=1000000125 DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT
|
||||
SELECT count(*) FROM t8_restart;
|
||||
count(*)
|
||||
65
|
||||
CREATE TABLE t9_restart(c1 DOUBLE AUTO_INCREMENT KEY, c2 CHAR(10), c3 VARCHAR(100), c4 DATE, c5 TEXT)
|
||||
ROW_FORMAT=DYNAMIC ENGINE=InnoDB TABLESPACE=s1_restart;
|
||||
INSERT INTO t9_restart VALUES (1000000000, 'MySQL', 'InnoDB', '2011-11-11', 'Read this after reboot');
|
||||
INSERT INTO t9_restart (SELECT 0, c2, c3, c4, c5 FROM t2_restart);
|
||||
INSERT INTO t9_restart (SELECT 0, c2, c3, c4, c5 FROM t2_restart);
|
||||
INSERT INTO t9_restart (SELECT 0, c2, c3, c4, c5 FROM t2_restart);
|
||||
INSERT INTO t9_restart (SELECT 0, c2, c3, c4, c5 FROM t2_restart);
|
||||
SHOW CREATE TABLE t9_restart;
|
||||
Table Create Table
|
||||
t9_restart CREATE TABLE `t9_restart` (
|
||||
`c1` double NOT NULL AUTO_INCREMENT,
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
PRIMARY KEY (`c1`)
|
||||
) /*!50100 TABLESPACE `s1_restart` */ ENGINE=InnoDB AUTO_INCREMENT=1000000125 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC
|
||||
SELECT count(*) FROM t9_restart;
|
||||
count(*)
|
||||
65
|
||||
#
|
||||
# Show these tables in information_schema.
|
||||
#
|
||||
=== information_schema.innodb_sys_tables and innodb_sys_tablespaces ===
|
||||
@ -253,8 +209,6 @@ test/t7_restart#p#p0#sp#s0 test/t7_restart#p#p0#sp#s0 97 8 Dynamic 0 Single
|
||||
test/t7_restart#p#p0#sp#s1 test/t7_restart#p#p0#sp#s1 97 8 Dynamic 0 Single
|
||||
test/t7_restart#p#p1#sp#s2 test/t7_restart#p#p1#sp#s2 97 8 Dynamic 0 Single
|
||||
test/t7_restart#p#p1#sp#s3 test/t7_restart#p#p1#sp#s3 97 8 Dynamic 0 Single
|
||||
test/t8_restart s1_restart 129 8 Compact 0 General
|
||||
test/t9_restart s1_restart 161 8 Dynamic 0 General
|
||||
=== information_schema.innodb_sys_tablespaces and innodb_sys_datafiles ===
|
||||
Space_Name Space_Type Page_Size Zip_Size Formats_Permitted Path
|
||||
test/t1_restart Single DEFAULT 0 Compact or Redundant MYSQLD_DATADIR/test/t1_restart.ibd
|
||||
@ -269,22 +223,6 @@ test/t7_restart#p#p0#sp#s0 Single DEFAULT 0 Dynamic MYSQL_TMP_DIR/alt_dir/test/t
|
||||
test/t7_restart#p#p0#sp#s1 Single DEFAULT 0 Dynamic MYSQL_TMP_DIR/alt_dir/test/t7_restart#p#p0#sp#s1.ibd
|
||||
test/t7_restart#p#p1#sp#s2 Single DEFAULT 0 Dynamic MYSQL_TMP_DIR/alt_dir/test/t7_restart#p#p1#sp#s2.ibd
|
||||
test/t7_restart#p#p1#sp#s3 Single DEFAULT 0 Dynamic MYSQL_TMP_DIR/alt_dir/test/t7_restart#p#p1#sp#s3.ibd
|
||||
s1_restart General DEFAULT 0 Any MYSQLD_DATADIR/s1_restart.ibd
|
||||
=== information_schema.files ===
|
||||
Space_Name File_Type Engine Status Tablespace_Name Path
|
||||
test/t1_restart TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t1_restart.ibd
|
||||
test/t2_restart TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t2_restart.ibd
|
||||
test/t3_restart TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t3_restart.ibd
|
||||
test/t4_restart TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t4_restart.ibd
|
||||
test/t5_restart TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t5_restart.ibd
|
||||
test/t6_restart#p#p0 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t6_restart#p#p0.ibd
|
||||
test/t6_restart#p#p1 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t6_restart#p#p1.ibd
|
||||
test/t6_restart#p#p2 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t6_restart#p#p2.ibd
|
||||
test/t7_restart#p#p0#sp#s0 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t7_restart#p#p0#sp#s0.ibd
|
||||
test/t7_restart#p#p0#sp#s1 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t7_restart#p#p0#sp#s1.ibd
|
||||
test/t7_restart#p#p1#sp#s2 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t7_restart#p#p1#sp#s2.ibd
|
||||
test/t7_restart#p#p1#sp#s3 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t7_restart#p#p1#sp#s3.ibd
|
||||
s1_restart TABLESPACE InnoDB NORMAL s1_restart MYSQLD_DATADIR/s1_restart.ibd
|
||||
#
|
||||
# Shutdown the server and list the tablespace OS files
|
||||
#
|
||||
@ -303,13 +241,13 @@ t6_restart#p#p0.isl
|
||||
t6_restart#p#p1.isl
|
||||
t6_restart#p#p2.isl
|
||||
t6_restart.frm
|
||||
t6_restart.par
|
||||
t7_restart#p#p0#sp#s0.isl
|
||||
t7_restart#p#p0#sp#s1.isl
|
||||
t7_restart#p#p1#sp#s2.isl
|
||||
t7_restart#p#p1#sp#s3.isl
|
||||
t7_restart.frm
|
||||
t8_restart.frm
|
||||
t9_restart.frm
|
||||
t7_restart.par
|
||||
---- MYSQL_TMP_DIR/alt_dir
|
||||
test
|
||||
---- MYSQL_TMP_DIR/alt_dir/test
|
||||
@ -324,7 +262,6 @@ t7_restart#p#p1#sp#s3.ibd
|
||||
#
|
||||
# Start the server and show that tables are still visible and accessible.
|
||||
#
|
||||
# restart
|
||||
SHOW VARIABLES LIKE 'innodb_file_per_table';
|
||||
Variable_name Value
|
||||
innodb_file_per_table ON
|
||||
@ -335,7 +272,7 @@ t1_restart CREATE TABLE `t1_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1000000020 DEFAULT CHARSET=latin1 ROW_FORMAT=REDUNDANT
|
||||
SHOW CREATE TABLE t2_restart;
|
||||
@ -345,7 +282,7 @@ t2_restart CREATE TABLE `t2_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1000000020 DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT
|
||||
SHOW CREATE TABLE t3_restart;
|
||||
@ -355,7 +292,7 @@ t3_restart CREATE TABLE `t3_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1000000020 DEFAULT CHARSET=latin1 ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=2
|
||||
SHOW CREATE TABLE t4_restart;
|
||||
@ -365,7 +302,7 @@ t4_restart CREATE TABLE `t4_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1000000020 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC
|
||||
SHOW CREATE TABLE t5_restart;
|
||||
@ -375,7 +312,7 @@ t5_restart CREATE TABLE `t5_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1000000020 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC DATA DIRECTORY='MYSQL_TMP_DIR/alt_dir/'
|
||||
SHOW CREATE TABLE t6_restart;
|
||||
@ -385,7 +322,7 @@ t6_restart CREATE TABLE `t6_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=latin1 ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=2
|
||||
/*!50100 PARTITION BY HASH (c1)
|
||||
@ -399,7 +336,7 @@ t7_restart CREATE TABLE `t7_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC
|
||||
/*!50100 PARTITION BY RANGE (c1)
|
||||
@ -410,26 +347,6 @@ SUBPARTITION BY HASH (c1)
|
||||
PARTITION p1 VALUES LESS THAN MAXVALUE
|
||||
(SUBPARTITION s2 DATA DIRECTORY = 'MYSQL_TMP_DIR/alt_dir' ENGINE = InnoDB,
|
||||
SUBPARTITION s3 DATA DIRECTORY = 'MYSQL_TMP_DIR/alt_dir' ENGINE = InnoDB)) */
|
||||
SHOW CREATE TABLE t8_restart;
|
||||
Table Create Table
|
||||
t8_restart CREATE TABLE `t8_restart` (
|
||||
`c1` double NOT NULL AUTO_INCREMENT,
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
PRIMARY KEY (`c1`)
|
||||
) /*!50100 TABLESPACE `s1_restart` */ ENGINE=InnoDB AUTO_INCREMENT=1000000110 DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT
|
||||
SHOW CREATE TABLE t9_restart;
|
||||
Table Create Table
|
||||
t9_restart CREATE TABLE `t9_restart` (
|
||||
`c1` double NOT NULL AUTO_INCREMENT,
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
PRIMARY KEY (`c1`)
|
||||
) /*!50100 TABLESPACE `s1_restart` */ ENGINE=InnoDB AUTO_INCREMENT=1000000110 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC
|
||||
INSERT INTO t1_restart (SELECT 0, c2, c3, c4, c5 FROM t1_restart);
|
||||
INSERT INTO t2_restart (SELECT 0, c2, c3, c4, c5 FROM t2_restart);
|
||||
INSERT INTO t3_restart (SELECT 0, c2, c3, c4, c5 FROM t3_restart);
|
||||
@ -437,8 +354,6 @@ INSERT INTO t4_restart (SELECT 0, c2, c3, c4, c5 FROM t4_restart);
|
||||
INSERT INTO t5_restart (SELECT 0, c2, c3, c4, c5 FROM t5_restart);
|
||||
INSERT INTO t6_restart (SELECT 0, c2, c3, c4, c5 FROM t6_restart);
|
||||
INSERT INTO t7_restart (SELECT 0, c2, c3, c4, c5 FROM t7_restart);
|
||||
INSERT INTO t8_restart (SELECT 0, c2, c3, c4, c5 FROM t8_restart);
|
||||
INSERT INTO t9_restart (SELECT 0, c2, c3, c4, c5 FROM t9_restart);
|
||||
SELECT count(*) FROM t1_restart;
|
||||
count(*)
|
||||
32
|
||||
@ -460,12 +375,6 @@ count(*)
|
||||
SELECT count(*) FROM t7_restart;
|
||||
count(*)
|
||||
32
|
||||
SELECT count(*) FROM t8_restart;
|
||||
count(*)
|
||||
130
|
||||
SELECT count(*) FROM t9_restart;
|
||||
count(*)
|
||||
130
|
||||
#
|
||||
# Show these tables in information_schema.
|
||||
#
|
||||
@ -483,8 +392,6 @@ test/t7_restart#p#p0#sp#s0 test/t7_restart#p#p0#sp#s0 97 8 Dynamic 0 Single
|
||||
test/t7_restart#p#p0#sp#s1 test/t7_restart#p#p0#sp#s1 97 8 Dynamic 0 Single
|
||||
test/t7_restart#p#p1#sp#s2 test/t7_restart#p#p1#sp#s2 97 8 Dynamic 0 Single
|
||||
test/t7_restart#p#p1#sp#s3 test/t7_restart#p#p1#sp#s3 97 8 Dynamic 0 Single
|
||||
test/t8_restart s1_restart 129 8 Compact 0 General
|
||||
test/t9_restart s1_restart 161 8 Dynamic 0 General
|
||||
=== information_schema.innodb_sys_tablespaces and innodb_sys_datafiles ===
|
||||
Space_Name Space_Type Page_Size Zip_Size Formats_Permitted Path
|
||||
test/t1_restart Single DEFAULT 0 Compact or Redundant MYSQLD_DATADIR/test/t1_restart.ibd
|
||||
@ -499,28 +406,9 @@ test/t7_restart#p#p0#sp#s0 Single DEFAULT 0 Dynamic MYSQL_TMP_DIR/alt_dir/test/t
|
||||
test/t7_restart#p#p0#sp#s1 Single DEFAULT 0 Dynamic MYSQL_TMP_DIR/alt_dir/test/t7_restart#p#p0#sp#s1.ibd
|
||||
test/t7_restart#p#p1#sp#s2 Single DEFAULT 0 Dynamic MYSQL_TMP_DIR/alt_dir/test/t7_restart#p#p1#sp#s2.ibd
|
||||
test/t7_restart#p#p1#sp#s3 Single DEFAULT 0 Dynamic MYSQL_TMP_DIR/alt_dir/test/t7_restart#p#p1#sp#s3.ibd
|
||||
s1_restart General DEFAULT 0 Any MYSQLD_DATADIR/s1_restart.ibd
|
||||
=== information_schema.files ===
|
||||
Space_Name File_Type Engine Status Tablespace_Name Path
|
||||
test/t1_restart TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t1_restart.ibd
|
||||
test/t2_restart TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t2_restart.ibd
|
||||
test/t3_restart TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t3_restart.ibd
|
||||
test/t4_restart TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t4_restart.ibd
|
||||
test/t5_restart TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t5_restart.ibd
|
||||
test/t6_restart#p#p0 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t6_restart#p#p0.ibd
|
||||
test/t6_restart#p#p1 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t6_restart#p#p1.ibd
|
||||
test/t6_restart#p#p2 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t6_restart#p#p2.ibd
|
||||
test/t7_restart#p#p0#sp#s0 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t7_restart#p#p0#sp#s0.ibd
|
||||
test/t7_restart#p#p0#sp#s1 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t7_restart#p#p0#sp#s1.ibd
|
||||
test/t7_restart#p#p1#sp#s2 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t7_restart#p#p1#sp#s2.ibd
|
||||
test/t7_restart#p#p1#sp#s3 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t7_restart#p#p1#sp#s3.ibd
|
||||
s1_restart TABLESPACE InnoDB NORMAL s1_restart MYSQLD_DATADIR/s1_restart.ibd
|
||||
DROP TABLE t1_restart;
|
||||
DROP TABLE t2_restart;
|
||||
DROP TABLE t3_restart;
|
||||
DROP TABLE t8_restart;
|
||||
DROP TABLE t9_restart;
|
||||
DROP TABLESPACE s1_restart;
|
||||
#
|
||||
# Truncate the remote tablespaces.
|
||||
#
|
||||
@ -538,17 +426,6 @@ test/t7_restart#p#p0#sp#s0 Single DEFAULT 0 Dynamic MYSQL_TMP_DIR/alt_dir/test/t
|
||||
test/t7_restart#p#p0#sp#s1 Single DEFAULT 0 Dynamic MYSQL_TMP_DIR/alt_dir/test/t7_restart#p#p0#sp#s1.ibd
|
||||
test/t7_restart#p#p1#sp#s2 Single DEFAULT 0 Dynamic MYSQL_TMP_DIR/alt_dir/test/t7_restart#p#p1#sp#s2.ibd
|
||||
test/t7_restart#p#p1#sp#s3 Single DEFAULT 0 Dynamic MYSQL_TMP_DIR/alt_dir/test/t7_restart#p#p1#sp#s3.ibd
|
||||
=== information_schema.files ===
|
||||
Space_Name File_Type Engine Status Tablespace_Name Path
|
||||
test/t4_restart TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t4_restart.ibd
|
||||
test/t5_restart TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t5_restart.ibd
|
||||
test/t6_restart#p#p0 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t6_restart#p#p0.ibd
|
||||
test/t6_restart#p#p1 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t6_restart#p#p1.ibd
|
||||
test/t6_restart#p#p2 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t6_restart#p#p2.ibd
|
||||
test/t7_restart#p#p0#sp#s0 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t7_restart#p#p0#sp#s0.ibd
|
||||
test/t7_restart#p#p0#sp#s1 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t7_restart#p#p0#sp#s1.ibd
|
||||
test/t7_restart#p#p1#sp#s2 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t7_restart#p#p1#sp#s2.ibd
|
||||
test/t7_restart#p#p1#sp#s3 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t7_restart#p#p1#sp#s3.ibd
|
||||
INSERT INTO t5_restart VALUES (1000000000, 'MySQL', 'InnoDB', '2011-11-11', 'Read this after reboot');
|
||||
INSERT INTO t5_restart (SELECT 0, c2, c3, c4, c5 FROM t5_restart);
|
||||
INSERT INTO t5_restart (SELECT 0, c2, c3, c4, c5 FROM t5_restart);
|
||||
@ -563,7 +440,7 @@ t5_restart CREATE TABLE `t5_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1000000012 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC DATA DIRECTORY='MYSQL_TMP_DIR/alt_dir/'
|
||||
SELECT count(*) FROM t6_restart;
|
||||
@ -576,7 +453,7 @@ t6_restart CREATE TABLE `t6_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=latin1 ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=2
|
||||
/*!50100 PARTITION BY HASH (c1)
|
||||
@ -593,7 +470,7 @@ t7_restart CREATE TABLE `t7_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC
|
||||
/*!50100 PARTITION BY RANGE (c1)
|
||||
@ -618,11 +495,13 @@ t6_restart#p#p0.isl
|
||||
t6_restart#p#p1.isl
|
||||
t6_restart#p#p2.isl
|
||||
t6_restart.frm
|
||||
t6_restart.par
|
||||
t7_restart#p#p0#sp#s0.isl
|
||||
t7_restart#p#p0#sp#s1.isl
|
||||
t7_restart#p#p1#sp#s2.isl
|
||||
t7_restart#p#p1#sp#s3.isl
|
||||
t7_restart.frm
|
||||
t7_restart.par
|
||||
---- MYSQL_TMP_DIR/alt_dir/test
|
||||
t5_restart.ibd
|
||||
t5_restart.ibd.bak
|
||||
@ -636,7 +515,6 @@ t7_restart#p#p1#sp#s3.ibd
|
||||
#
|
||||
# Start the server and show the tablespaces.
|
||||
#
|
||||
# restart
|
||||
SHOW VARIABLES LIKE 'innodb_file_per_table';
|
||||
Variable_name Value
|
||||
innodb_file_per_table ON
|
||||
@ -651,17 +529,6 @@ test/t7_restart#p#p0#sp#s0 Single DEFAULT 0 Dynamic MYSQL_TMP_DIR/alt_dir/test/t
|
||||
test/t7_restart#p#p0#sp#s1 Single DEFAULT 0 Dynamic MYSQL_TMP_DIR/alt_dir/test/t7_restart#p#p0#sp#s1.ibd
|
||||
test/t7_restart#p#p1#sp#s2 Single DEFAULT 0 Dynamic MYSQL_TMP_DIR/alt_dir/test/t7_restart#p#p1#sp#s2.ibd
|
||||
test/t7_restart#p#p1#sp#s3 Single DEFAULT 0 Dynamic MYSQL_TMP_DIR/alt_dir/test/t7_restart#p#p1#sp#s3.ibd
|
||||
=== information_schema.files ===
|
||||
Space_Name File_Type Engine Status Tablespace_Name Path
|
||||
test/t4_restart TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t4_restart.ibd
|
||||
test/t5_restart TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t5_restart.ibd
|
||||
test/t6_restart#p#p0 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t6_restart#p#p0.ibd
|
||||
test/t6_restart#p#p1 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t6_restart#p#p1.ibd
|
||||
test/t6_restart#p#p2 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t6_restart#p#p2.ibd
|
||||
test/t7_restart#p#p0#sp#s0 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t7_restart#p#p0#sp#s0.ibd
|
||||
test/t7_restart#p#p0#sp#s1 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t7_restart#p#p0#sp#s1.ibd
|
||||
test/t7_restart#p#p1#sp#s2 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t7_restart#p#p1#sp#s2.ibd
|
||||
test/t7_restart#p#p1#sp#s3 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t7_restart#p#p1#sp#s3.ibd
|
||||
SELECT count(*) FROM t5_restart;
|
||||
count(*)
|
||||
8
|
||||
@ -672,7 +539,7 @@ t5_restart CREATE TABLE `t5_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1000000009 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC DATA DIRECTORY='MYSQL_TMP_DIR/alt_dir/'
|
||||
SELECT count(*) FROM t6_restart;
|
||||
@ -685,7 +552,7 @@ t6_restart CREATE TABLE `t6_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=latin1 ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=2
|
||||
/*!50100 PARTITION BY HASH (c1)
|
||||
@ -702,7 +569,7 @@ t7_restart CREATE TABLE `t7_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC
|
||||
/*!50100 PARTITION BY RANGE (c1)
|
||||
@ -719,7 +586,7 @@ SUBPARTITION BY HASH (c1)
|
||||
RENAME TABLE t5_restart TO t55_restart;
|
||||
ERROR 42S01: Table 't55_restart' already exists
|
||||
RENAME TABLE t5_restart TO t55_restart;
|
||||
ERROR HY000: Error on rename of './test/t5_restart' to './test/t55_restart' (errno: 184 - Tablespace already exists)
|
||||
ERROR HY000: Error on rename of './test/t5_restart' to './test/t55_restart' (errno: 184 "Tablespace already exists")
|
||||
---- MYSQL_DATA_DIR/test
|
||||
t4_restart.frm
|
||||
t4_restart.ibd
|
||||
@ -729,11 +596,13 @@ t6_restart#p#p0.isl
|
||||
t6_restart#p#p1.isl
|
||||
t6_restart#p#p2.isl
|
||||
t6_restart.frm
|
||||
t6_restart.par
|
||||
t7_restart#p#p0#sp#s0.isl
|
||||
t7_restart#p#p0#sp#s1.isl
|
||||
t7_restart#p#p1#sp#s2.isl
|
||||
t7_restart#p#p1#sp#s3.isl
|
||||
t7_restart.frm
|
||||
t7_restart.par
|
||||
---- MYSQL_TMP_DIR/alt_dir/test
|
||||
t5_restart.ibd
|
||||
t6_restart#p#p0.ibd
|
||||
@ -760,17 +629,6 @@ test/t77_restart#p#p0#sp#s0 Single DEFAULT 0 Dynamic MYSQL_TMP_DIR/alt_dir/test/
|
||||
test/t77_restart#p#p0#sp#s1 Single DEFAULT 0 Dynamic MYSQL_TMP_DIR/alt_dir/test/t77_restart#p#p0#sp#s1.ibd
|
||||
test/t77_restart#p#p1#sp#s2 Single DEFAULT 0 Dynamic MYSQL_TMP_DIR/alt_dir/test/t77_restart#p#p1#sp#s2.ibd
|
||||
test/t77_restart#p#p1#sp#s3 Single DEFAULT 0 Dynamic MYSQL_TMP_DIR/alt_dir/test/t77_restart#p#p1#sp#s3.ibd
|
||||
=== information_schema.files ===
|
||||
Space_Name File_Type Engine Status Tablespace_Name Path
|
||||
test/t4_restart TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t4_restart.ibd
|
||||
test/t55_restart TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t55_restart.ibd
|
||||
test/t66_restart#p#p0 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t66_restart#p#p0.ibd
|
||||
test/t66_restart#p#p1 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t66_restart#p#p1.ibd
|
||||
test/t66_restart#p#p2 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t66_restart#p#p2.ibd
|
||||
test/t77_restart#p#p0#sp#s0 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t77_restart#p#p0#sp#s0.ibd
|
||||
test/t77_restart#p#p0#sp#s1 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t77_restart#p#p0#sp#s1.ibd
|
||||
test/t77_restart#p#p1#sp#s2 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t77_restart#p#p1#sp#s2.ibd
|
||||
test/t77_restart#p#p1#sp#s3 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t77_restart#p#p1#sp#s3.ibd
|
||||
INSERT INTO t55_restart (SELECT 0, c2, c3, c4, c5 FROM t55_restart);
|
||||
SELECT count(*) FROM t55_restart;
|
||||
count(*)
|
||||
@ -782,7 +640,7 @@ t55_restart CREATE TABLE `t55_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1000000024 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC DATA DIRECTORY='MYSQL_TMP_DIR/alt_dir/'
|
||||
INSERT INTO t66_restart (SELECT 0, c2, c3, c4, c5 FROM t66_restart);
|
||||
@ -796,7 +654,7 @@ t66_restart CREATE TABLE `t66_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=53 DEFAULT CHARSET=latin1 ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=2
|
||||
/*!50100 PARTITION BY HASH (c1)
|
||||
@ -814,7 +672,7 @@ t77_restart CREATE TABLE `t77_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC
|
||||
/*!50100 PARTITION BY RANGE (c1)
|
||||
@ -834,11 +692,13 @@ t66_restart#p#p0.isl
|
||||
t66_restart#p#p1.isl
|
||||
t66_restart#p#p2.isl
|
||||
t66_restart.frm
|
||||
t66_restart.par
|
||||
t77_restart#p#p0#sp#s0.isl
|
||||
t77_restart#p#p0#sp#s1.isl
|
||||
t77_restart#p#p1#sp#s2.isl
|
||||
t77_restart#p#p1#sp#s3.isl
|
||||
t77_restart.frm
|
||||
t77_restart.par
|
||||
---- MYSQL_TMP_DIR/alt_dir/test
|
||||
t55_restart.ibd
|
||||
t66_restart#p#p0.ibd
|
||||
@ -851,7 +711,6 @@ t77_restart#p#p1#sp#s3.ibd
|
||||
#
|
||||
# Restart the server
|
||||
#
|
||||
# restart
|
||||
SHOW VARIABLES LIKE 'innodb_file_per_table';
|
||||
Variable_name Value
|
||||
innodb_file_per_table ON
|
||||
@ -866,17 +725,6 @@ test/t77_restart#p#p0#sp#s0 Single DEFAULT 0 Dynamic MYSQL_TMP_DIR/alt_dir/test/
|
||||
test/t77_restart#p#p0#sp#s1 Single DEFAULT 0 Dynamic MYSQL_TMP_DIR/alt_dir/test/t77_restart#p#p0#sp#s1.ibd
|
||||
test/t77_restart#p#p1#sp#s2 Single DEFAULT 0 Dynamic MYSQL_TMP_DIR/alt_dir/test/t77_restart#p#p1#sp#s2.ibd
|
||||
test/t77_restart#p#p1#sp#s3 Single DEFAULT 0 Dynamic MYSQL_TMP_DIR/alt_dir/test/t77_restart#p#p1#sp#s3.ibd
|
||||
=== information_schema.files ===
|
||||
Space_Name File_Type Engine Status Tablespace_Name Path
|
||||
test/t4_restart TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t4_restart.ibd
|
||||
test/t55_restart TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t55_restart.ibd
|
||||
test/t66_restart#p#p0 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t66_restart#p#p0.ibd
|
||||
test/t66_restart#p#p1 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t66_restart#p#p1.ibd
|
||||
test/t66_restart#p#p2 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t66_restart#p#p2.ibd
|
||||
test/t77_restart#p#p0#sp#s0 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t77_restart#p#p0#sp#s0.ibd
|
||||
test/t77_restart#p#p0#sp#s1 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t77_restart#p#p0#sp#s1.ibd
|
||||
test/t77_restart#p#p1#sp#s2 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t77_restart#p#p1#sp#s2.ibd
|
||||
test/t77_restart#p#p1#sp#s3 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/alt_dir/test/t77_restart#p#p1#sp#s3.ibd
|
||||
INSERT INTO t55_restart (SELECT 0, c2, c3, c4, c5 FROM t55_restart);
|
||||
SELECT count(*) FROM t55_restart;
|
||||
count(*)
|
||||
@ -888,7 +736,7 @@ t55_restart CREATE TABLE `t55_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1000000048 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC DATA DIRECTORY='MYSQL_TMP_DIR/alt_dir/'
|
||||
INSERT INTO t66_restart (SELECT 0, c2, c3, c4, c5 FROM t66_restart);
|
||||
@ -902,7 +750,7 @@ t66_restart CREATE TABLE `t66_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=95 DEFAULT CHARSET=latin1 ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=2
|
||||
/*!50100 PARTITION BY HASH (c1)
|
||||
@ -920,7 +768,7 @@ t77_restart CREATE TABLE `t77_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=37 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC
|
||||
/*!50100 PARTITION BY RANGE (c1)
|
||||
@ -946,11 +794,13 @@ t66_restart#p#p0.isl
|
||||
t66_restart#p#p1.isl
|
||||
t66_restart#p#p2.isl
|
||||
t66_restart.frm
|
||||
t66_restart.par
|
||||
t77_restart#p#p0#sp#s0.isl
|
||||
t77_restart#p#p0#sp#s1.isl
|
||||
t77_restart#p#p1#sp#s2.isl
|
||||
t77_restart#p#p1#sp#s3.isl
|
||||
t77_restart.frm
|
||||
t77_restart.par
|
||||
---- MYSQL_TMP_DIR/alt_dir/test
|
||||
t55_restart.ibd
|
||||
t66_restart#p#p0.ibd
|
||||
@ -974,11 +824,13 @@ t66_restart#p#p0.isl
|
||||
t66_restart#p#p1.isl
|
||||
t66_restart#p#p2.isl
|
||||
t66_restart.frm
|
||||
t66_restart.par
|
||||
t77_restart#p#p0#sp#s0.isl
|
||||
t77_restart#p#p0#sp#s1.isl
|
||||
t77_restart#p#p1#sp#s2.isl
|
||||
t77_restart#p#p1#sp#s3.isl
|
||||
t77_restart.frm
|
||||
t77_restart.par
|
||||
---- MYSQL_TMP_DIR/alt_dir/test
|
||||
---- MYSQL_TMP_DIR/new_dir/test
|
||||
t4_restart.ibd
|
||||
@ -993,7 +845,6 @@ t77_restart#p#p1#sp#s3.ibd
|
||||
#
|
||||
# Start the server and check tablespaces.
|
||||
#
|
||||
# restart
|
||||
=== information_schema.innodb_sys_tablespaces and innodb_sys_datafiles ===
|
||||
Space_Name Space_Type Page_Size Zip_Size Formats_Permitted Path
|
||||
test/t4_restart Single DEFAULT 0 Dynamic MYSQL_TMP_DIR/new_dir/test/t4_restart.ibd
|
||||
@ -1005,17 +856,6 @@ test/t77_restart#p#p0#sp#s0 Single DEFAULT 0 Dynamic MYSQL_TMP_DIR/new_dir/test/
|
||||
test/t77_restart#p#p0#sp#s1 Single DEFAULT 0 Dynamic MYSQL_TMP_DIR/new_dir/test/t77_restart#p#p0#sp#s1.ibd
|
||||
test/t77_restart#p#p1#sp#s2 Single DEFAULT 0 Dynamic MYSQL_TMP_DIR/new_dir/test/t77_restart#p#p1#sp#s2.ibd
|
||||
test/t77_restart#p#p1#sp#s3 Single DEFAULT 0 Dynamic MYSQL_TMP_DIR/new_dir/test/t77_restart#p#p1#sp#s3.ibd
|
||||
=== information_schema.files ===
|
||||
Space_Name File_Type Engine Status Tablespace_Name Path
|
||||
test/t4_restart TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/new_dir/test/t4_restart.ibd
|
||||
test/t55_restart TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/new_dir/test/t55_restart.ibd
|
||||
test/t66_restart#p#p0 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/new_dir/test/t66_restart#p#p0.ibd
|
||||
test/t66_restart#p#p1 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/new_dir/test/t66_restart#p#p1.ibd
|
||||
test/t66_restart#p#p2 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/new_dir/test/t66_restart#p#p2.ibd
|
||||
test/t77_restart#p#p0#sp#s0 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/new_dir/test/t77_restart#p#p0#sp#s0.ibd
|
||||
test/t77_restart#p#p0#sp#s1 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/new_dir/test/t77_restart#p#p0#sp#s1.ibd
|
||||
test/t77_restart#p#p1#sp#s2 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/new_dir/test/t77_restart#p#p1#sp#s2.ibd
|
||||
test/t77_restart#p#p1#sp#s3 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQL_TMP_DIR/new_dir/test/t77_restart#p#p1#sp#s3.ibd
|
||||
INSERT INTO t4_restart (SELECT 0, c2, c3, c4, c5 FROM t4_restart);
|
||||
SELECT count(*) FROM t4_restart;
|
||||
count(*)
|
||||
@ -1027,9 +867,9 @@ t4_restart CREATE TABLE `t4_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1000000099 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1000000099 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC DATA DIRECTORY='MYSQL_TMP_DIR/new_dir/'
|
||||
INSERT INTO t55_restart (SELECT 0, c2, c3, c4, c5 FROM t55_restart);
|
||||
SELECT count(*) FROM t55_restart;
|
||||
count(*)
|
||||
@ -1041,7 +881,7 @@ t55_restart CREATE TABLE `t55_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1000000096 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC DATA DIRECTORY='MYSQL_TMP_DIR/new_dir/'
|
||||
INSERT INTO t66_restart (SELECT 0, c2, c3, c4, c5 FROM t66_restart);
|
||||
@ -1055,7 +895,7 @@ t66_restart CREATE TABLE `t66_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=179 DEFAULT CHARSET=latin1 ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=2
|
||||
/*!50100 PARTITION BY HASH (c1)
|
||||
@ -1073,7 +913,7 @@ t77_restart CREATE TABLE `t77_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=73 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC
|
||||
/*!50100 PARTITION BY RANGE (c1)
|
||||
@ -1099,11 +939,13 @@ t66_restart#p#p0.isl
|
||||
t66_restart#p#p1.isl
|
||||
t66_restart#p#p2.isl
|
||||
t66_restart.frm
|
||||
t66_restart.par
|
||||
t77_restart#p#p0#sp#s0.isl
|
||||
t77_restart#p#p0#sp#s1.isl
|
||||
t77_restart#p#p1#sp#s2.isl
|
||||
t77_restart#p#p1#sp#s3.isl
|
||||
t77_restart.frm
|
||||
t77_restart.par
|
||||
---- MYSQL_TMP_DIR/new_dir/test
|
||||
t4_restart.ibd
|
||||
t55_restart.ibd
|
||||
@ -1127,16 +969,17 @@ t66_restart#p#p0.ibd
|
||||
t66_restart#p#p1.ibd
|
||||
t66_restart#p#p2.ibd
|
||||
t66_restart.frm
|
||||
t66_restart.par
|
||||
t77_restart#p#p0#sp#s0.ibd
|
||||
t77_restart#p#p0#sp#s1.ibd
|
||||
t77_restart#p#p1#sp#s2.ibd
|
||||
t77_restart#p#p1#sp#s3.ibd
|
||||
t77_restart.frm
|
||||
t77_restart.par
|
||||
---- MYSQL_TMP_DIR/new_dir/test
|
||||
#
|
||||
# Start the server and check tablespaces.
|
||||
#
|
||||
# restart
|
||||
=== information_schema.innodb_sys_tablespaces and innodb_sys_datafiles ===
|
||||
Space_Name Space_Type Page_Size Zip_Size Formats_Permitted Path
|
||||
test/t4_restart Single DEFAULT 0 Dynamic MYSQLD_DATADIR/test/t4_restart.ibd
|
||||
@ -1148,17 +991,6 @@ test/t77_restart#p#p0#sp#s0 Single DEFAULT 0 Dynamic MYSQLD_DATADIR/test/t77_res
|
||||
test/t77_restart#p#p0#sp#s1 Single DEFAULT 0 Dynamic MYSQLD_DATADIR/test/t77_restart#p#p0#sp#s1.ibd
|
||||
test/t77_restart#p#p1#sp#s2 Single DEFAULT 0 Dynamic MYSQLD_DATADIR/test/t77_restart#p#p1#sp#s2.ibd
|
||||
test/t77_restart#p#p1#sp#s3 Single DEFAULT 0 Dynamic MYSQLD_DATADIR/test/t77_restart#p#p1#sp#s3.ibd
|
||||
=== information_schema.files ===
|
||||
Space_Name File_Type Engine Status Tablespace_Name Path
|
||||
test/t4_restart TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t4_restart.ibd
|
||||
test/t55_restart TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t55_restart.ibd
|
||||
test/t66_restart#p#p0 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t66_restart#p#p0.ibd
|
||||
test/t66_restart#p#p1 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t66_restart#p#p1.ibd
|
||||
test/t66_restart#p#p2 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t66_restart#p#p2.ibd
|
||||
test/t77_restart#p#p0#sp#s0 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t77_restart#p#p0#sp#s0.ibd
|
||||
test/t77_restart#p#p0#sp#s1 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t77_restart#p#p0#sp#s1.ibd
|
||||
test/t77_restart#p#p1#sp#s2 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t77_restart#p#p1#sp#s2.ibd
|
||||
test/t77_restart#p#p1#sp#s3 TABLESPACE InnoDB NORMAL innodb_file_per_table.## MYSQLD_DATADIR/test/t77_restart#p#p1#sp#s3.ibd
|
||||
INSERT INTO t4_restart (SELECT 0, c2, c3, c4, c5 FROM t4_restart);
|
||||
SELECT count(*) FROM t4_restart;
|
||||
count(*)
|
||||
@ -1170,7 +1002,7 @@ t4_restart CREATE TABLE `t4_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1000000195 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC
|
||||
INSERT INTO t55_restart (SELECT 0, c2, c3, c4, c5 FROM t55_restart);
|
||||
@ -1184,7 +1016,7 @@ t55_restart CREATE TABLE `t55_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1000000192 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC
|
||||
INSERT INTO t66_restart (SELECT 0, c2, c3, c4, c5 FROM t66_restart);
|
||||
@ -1198,7 +1030,7 @@ t66_restart CREATE TABLE `t66_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=347 DEFAULT CHARSET=latin1 ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=2
|
||||
/*!50100 PARTITION BY HASH (c1)
|
||||
@ -1216,7 +1048,7 @@ t77_restart CREATE TABLE `t77_restart` (
|
||||
`c2` char(10) DEFAULT NULL,
|
||||
`c3` varchar(100) DEFAULT NULL,
|
||||
`c4` date DEFAULT NULL,
|
||||
`c5` text,
|
||||
`c5` text DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=145 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC
|
||||
/*!50100 PARTITION BY RANGE (c1)
|
||||
|
Reference in New Issue
Block a user