Current Path : /home/usr.opt/mysql57/mysql-test/suite/engines/funcs/t/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //home/usr.opt/mysql57/mysql-test/suite/engines/funcs/t/ta_add_string_middle.test |
--disable_warnings let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='DEFAULT_STORAGE_ENGINE'`; --enable_warnings --disable_warnings DROP TABLE IF EXISTS t5; --enable_warnings CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10) NULL, c3 CHAR(20) NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; ALTER TABLE t5 ADD c4 CHAR(20) NULL AFTER c2; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10) NULL, c3 VARCHAR(20) NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; ALTER TABLE t5 ADD c4 CHAR(20) NULL AFTER c2; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10) NULL, c3 BINARY(20) NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; ALTER TABLE t5 ADD c4 CHAR(20) NULL AFTER c2; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10) NULL, c3 VARBINARY(20) NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; ALTER TABLE t5 ADD c4 CHAR(20) NULL AFTER c2; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10) NOT NULL, c3 CHAR(20) NOT NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; ALTER TABLE t5 ADD c4 CHAR(20) NOT NULL AFTER c2; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10) NOT NULL, c3 VARCHAR(20) NOT NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; ALTER TABLE t5 ADD c4 CHAR(20) NOT NULL AFTER c2; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10) NOT NULL, c3 BINARY(20) NOT NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; ALTER TABLE t5 ADD c4 CHAR(20) NOT NULL AFTER c2; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10) NOT NULL, c3 VARBINARY(20) NOT NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; ALTER TABLE t5 ADD c4 CHAR(20) NOT NULL AFTER c2; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10) NULL, c3 CHAR(20) NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; ALTER TABLE t5 ADD c4 VARCHAR(20) NULL AFTER c2; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10) NULL, c3 VARCHAR(20) NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; ALTER TABLE t5 ADD c4 VARCHAR(20) NULL AFTER c2; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10) NULL, c3 BINARY(20) NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; ALTER TABLE t5 ADD c4 VARCHAR(20) NULL AFTER c2; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10) NULL, c3 VARBINARY(20) NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; ALTER TABLE t5 ADD c4 VARCHAR(20) NULL AFTER c2; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10) NOT NULL, c3 CHAR(20) NOT NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; ALTER TABLE t5 ADD c4 VARCHAR(20) NOT NULL AFTER c2; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10) NOT NULL, c3 VARCHAR(20) NOT NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; ALTER TABLE t5 ADD c4 VARCHAR(20) NOT NULL AFTER c2; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10) NOT NULL, c3 BINARY(20) NOT NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; ALTER TABLE t5 ADD c4 VARCHAR(20) NOT NULL AFTER c2; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10) NOT NULL, c3 VARBINARY(20) NOT NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; ALTER TABLE t5 ADD c4 VARCHAR(20) NOT NULL AFTER c2; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10) NULL, c3 CHAR(20) NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; ALTER TABLE t5 ADD c4 BINARY(20) NULL AFTER c2; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10) NULL, c3 VARCHAR(20) NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; ALTER TABLE t5 ADD c4 BINARY(20) NULL AFTER c2; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10) NULL, c3 BINARY(20) NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; ALTER TABLE t5 ADD c4 BINARY(20) NULL AFTER c2; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10) NULL, c3 VARBINARY(20) NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; ALTER TABLE t5 ADD c4 BINARY(20) NULL AFTER c2; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10) NOT NULL, c3 CHAR(20) NOT NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; ALTER TABLE t5 ADD c4 BINARY(20) NOT NULL AFTER c2; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10) NOT NULL, c3 VARCHAR(20) NOT NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; ALTER TABLE t5 ADD c4 BINARY(20) NOT NULL AFTER c2; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10) NOT NULL, c3 BINARY(20) NOT NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; ALTER TABLE t5 ADD c4 BINARY(20) NOT NULL AFTER c2; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10) NOT NULL, c3 VARBINARY(20) NOT NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; ALTER TABLE t5 ADD c4 BINARY(20) NOT NULL AFTER c2; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10) NULL, c3 CHAR(20) NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; ALTER TABLE t5 ADD c4 VARBINARY(20) NULL AFTER c2; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10) NULL, c3 VARCHAR(20) NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; ALTER TABLE t5 ADD c4 VARBINARY(20) NULL AFTER c2; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10) NULL, c3 BINARY(20) NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; ALTER TABLE t5 ADD c4 VARBINARY(20) NULL AFTER c2; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10) NULL, c3 VARBINARY(20) NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; ALTER TABLE t5 ADD c4 VARBINARY(20) NULL AFTER c2; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10) NOT NULL, c3 CHAR(20) NOT NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; ALTER TABLE t5 ADD c4 VARBINARY(20) NOT NULL AFTER c2; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10) NOT NULL, c3 VARCHAR(20) NOT NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; ALTER TABLE t5 ADD c4 VARBINARY(20) NOT NULL AFTER c2; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10) NOT NULL, c3 BINARY(20) NOT NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; ALTER TABLE t5 ADD c4 VARBINARY(20) NOT NULL AFTER c2; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10) NOT NULL, c3 VARBINARY(20) NOT NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; ALTER TABLE t5 ADD c4 VARBINARY(20) NOT NULL AFTER c2; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES;