mirror of
https://github.com/MariaDB/server.git
synced 2025-05-07 04:01:59 +03:00
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
325 lines
18 KiB
Plaintext
325 lines
18 KiB
Plaintext
--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;
|
|
|