mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Test suites for engine testing, moved from test-extra so will be available
for general use. mysql-test/Makefile.am: Adding directories of additional test suites mysql-test/mysql-stress-test.pl: Adding check for additional errors checking during test run
This commit is contained in:
324
mysql-test/suite/engines/funcs/t/ta_add_string_middle.test
Normal file
324
mysql-test/suite/engines/funcs/t/ta_add_string_middle.test
Normal file
@ -0,0 +1,324 @@
|
||||
--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;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5;
|
||||
ALTER TABLE t5 ADD c4 CHAR(20) NULL AFTER c2;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--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;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5;
|
||||
ALTER TABLE t5 ADD c4 CHAR(20) NULL AFTER c2;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--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;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5;
|
||||
ALTER TABLE t5 ADD c4 CHAR(20) NULL AFTER c2;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--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;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5;
|
||||
ALTER TABLE t5 ADD c4 CHAR(20) NULL AFTER c2;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--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;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5;
|
||||
ALTER TABLE t5 ADD c4 CHAR(20) NOT NULL AFTER c2;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--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;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5;
|
||||
ALTER TABLE t5 ADD c4 CHAR(20) NOT NULL AFTER c2;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--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;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5;
|
||||
ALTER TABLE t5 ADD c4 CHAR(20) NOT NULL AFTER c2;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--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;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5;
|
||||
ALTER TABLE t5 ADD c4 CHAR(20) NOT NULL AFTER c2;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--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;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5;
|
||||
ALTER TABLE t5 ADD c4 VARCHAR(20) NULL AFTER c2;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--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;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5;
|
||||
ALTER TABLE t5 ADD c4 VARCHAR(20) NULL AFTER c2;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--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;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5;
|
||||
ALTER TABLE t5 ADD c4 VARCHAR(20) NULL AFTER c2;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--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;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5;
|
||||
ALTER TABLE t5 ADD c4 VARCHAR(20) NULL AFTER c2;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--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;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5;
|
||||
ALTER TABLE t5 ADD c4 VARCHAR(20) NOT NULL AFTER c2;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--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;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5;
|
||||
ALTER TABLE t5 ADD c4 VARCHAR(20) NOT NULL AFTER c2;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--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;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5;
|
||||
ALTER TABLE t5 ADD c4 VARCHAR(20) NOT NULL AFTER c2;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--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;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5;
|
||||
ALTER TABLE t5 ADD c4 VARCHAR(20) NOT NULL AFTER c2;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--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;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5;
|
||||
ALTER TABLE t5 ADD c4 BINARY(20) NULL AFTER c2;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--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;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5;
|
||||
ALTER TABLE t5 ADD c4 BINARY(20) NULL AFTER c2;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--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;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5;
|
||||
ALTER TABLE t5 ADD c4 BINARY(20) NULL AFTER c2;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--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;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5;
|
||||
ALTER TABLE t5 ADD c4 BINARY(20) NULL AFTER c2;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--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;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5;
|
||||
ALTER TABLE t5 ADD c4 BINARY(20) NOT NULL AFTER c2;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--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;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5;
|
||||
ALTER TABLE t5 ADD c4 BINARY(20) NOT NULL AFTER c2;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--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;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5;
|
||||
ALTER TABLE t5 ADD c4 BINARY(20) NOT NULL AFTER c2;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--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;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5;
|
||||
ALTER TABLE t5 ADD c4 BINARY(20) NOT NULL AFTER c2;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--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;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5;
|
||||
ALTER TABLE t5 ADD c4 VARBINARY(20) NULL AFTER c2;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--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;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5;
|
||||
ALTER TABLE t5 ADD c4 VARBINARY(20) NULL AFTER c2;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--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;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5;
|
||||
ALTER TABLE t5 ADD c4 VARBINARY(20) NULL AFTER c2;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--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;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5;
|
||||
ALTER TABLE t5 ADD c4 VARBINARY(20) NULL AFTER c2;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--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;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5;
|
||||
ALTER TABLE t5 ADD c4 VARBINARY(20) NOT NULL AFTER c2;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--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;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5;
|
||||
ALTER TABLE t5 ADD c4 VARBINARY(20) NOT NULL AFTER c2;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--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;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5;
|
||||
ALTER TABLE t5 ADD c4 VARBINARY(20) NOT NULL AFTER c2;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--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;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5;
|
||||
ALTER TABLE t5 ADD c4 VARBINARY(20) NOT NULL AFTER c2;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES;
|
||||
|
Reference in New Issue
Block a user