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
445 lines
23 KiB
Plaintext
445 lines
23 KiB
Plaintext
--disable_warnings
|
|
DROP TABLE IF EXISTS t3;
|
|
--enable_warnings
|
|
CREATE TABLE t3(c1 TINYINT 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 t3;
|
|
ALTER TABLE t3 MODIFY c1 TINYINT UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 SMALLINT 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 t3;
|
|
ALTER TABLE t3 MODIFY c1 SMALLINT UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 MEDIUMINT 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 t3;
|
|
ALTER TABLE t3 MODIFY c1 MEDIUMINT UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 INT 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 t3;
|
|
ALTER TABLE t3 MODIFY c1 INT UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 INTEGER 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 t3;
|
|
ALTER TABLE t3 MODIFY c1 INTEGER UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 BIGINT 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 t3;
|
|
ALTER TABLE t3 MODIFY c1 BIGINT UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 REAL 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 t3;
|
|
ALTER TABLE t3 MODIFY c1 REAL UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 DOUBLE 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 t3;
|
|
ALTER TABLE t3 MODIFY c1 DOUBLE UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 FLOAT 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 t3;
|
|
ALTER TABLE t3 MODIFY c1 FLOAT UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 DECIMAL 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 t3;
|
|
ALTER TABLE t3 MODIFY c1 DECIMAL UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 NUMERIC 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 t3;
|
|
ALTER TABLE t3 MODIFY c1 NUMERIC UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 TINYINT 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 t3;
|
|
ALTER TABLE t3 CHANGE c1 c1 TINYINT UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 SMALLINT 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 t3;
|
|
ALTER TABLE t3 CHANGE c1 c1 SMALLINT UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 MEDIUMINT 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 t3;
|
|
ALTER TABLE t3 CHANGE c1 c1 MEDIUMINT UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 INT 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 t3;
|
|
ALTER TABLE t3 CHANGE c1 c1 INT UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 INTEGER 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 t3;
|
|
ALTER TABLE t3 CHANGE c1 c1 INTEGER UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 BIGINT 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 t3;
|
|
ALTER TABLE t3 CHANGE c1 c1 BIGINT UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 REAL 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 t3;
|
|
ALTER TABLE t3 CHANGE c1 c1 REAL UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 DOUBLE 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 t3;
|
|
ALTER TABLE t3 CHANGE c1 c1 DOUBLE UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 FLOAT 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 t3;
|
|
ALTER TABLE t3 CHANGE c1 c1 FLOAT UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 DECIMAL 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 t3;
|
|
ALTER TABLE t3 CHANGE c1 c1 DECIMAL UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 NUMERIC 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 t3;
|
|
ALTER TABLE t3 CHANGE c1 c1 NUMERIC UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 TINYINT 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 t3;
|
|
ALTER TABLE t3 MODIFY c1 TINYINT UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 SMALLINT 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 t3;
|
|
ALTER TABLE t3 MODIFY c1 SMALLINT UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 MEDIUMINT 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 t3;
|
|
ALTER TABLE t3 MODIFY c1 MEDIUMINT UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 INT 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 t3;
|
|
ALTER TABLE t3 MODIFY c1 INT UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 INTEGER 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 t3;
|
|
ALTER TABLE t3 MODIFY c1 INTEGER UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 BIGINT 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 t3;
|
|
ALTER TABLE t3 MODIFY c1 BIGINT UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 REAL 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 t3;
|
|
ALTER TABLE t3 MODIFY c1 REAL UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 DOUBLE 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 t3;
|
|
ALTER TABLE t3 MODIFY c1 DOUBLE UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 FLOAT 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 t3;
|
|
ALTER TABLE t3 MODIFY c1 FLOAT UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 DECIMAL 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 t3;
|
|
ALTER TABLE t3 MODIFY c1 DECIMAL UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 NUMERIC 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 t3;
|
|
ALTER TABLE t3 MODIFY c1 NUMERIC UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 TINYINT 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 t3;
|
|
ALTER TABLE t3 CHANGE c1 c1 TINYINT UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 SMALLINT 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 t3;
|
|
ALTER TABLE t3 CHANGE c1 c1 SMALLINT UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 MEDIUMINT 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 t3;
|
|
ALTER TABLE t3 CHANGE c1 c1 MEDIUMINT UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 INT 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 t3;
|
|
ALTER TABLE t3 CHANGE c1 c1 INT UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 INTEGER 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 t3;
|
|
ALTER TABLE t3 CHANGE c1 c1 INTEGER UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 BIGINT 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 t3;
|
|
ALTER TABLE t3 CHANGE c1 c1 BIGINT UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 REAL 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 t3;
|
|
ALTER TABLE t3 CHANGE c1 c1 REAL UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 DOUBLE 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 t3;
|
|
ALTER TABLE t3 CHANGE c1 c1 DOUBLE UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 FLOAT 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 t3;
|
|
ALTER TABLE t3 CHANGE c1 c1 FLOAT UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 DECIMAL 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 t3;
|
|
ALTER TABLE t3 CHANGE c1 c1 DECIMAL UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
CREATE TABLE t3(c1 NUMERIC 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 t3;
|
|
ALTER TABLE t3 CHANGE c1 c1 NUMERIC UNSIGNED 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 t3; DROP TABLE t3; SHOW TABLES;
|
|
|