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_column_to_unsigned.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 t3; --enable_warnings CREATE TABLE t3(c1 TINYINT NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 MODIFY c1 TINYINT UNSIGNED NULL; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; DROP TABLE t3; SHOW TABLES; CREATE TABLE t3(c1 SMALLINT NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 MODIFY c1 SMALLINT UNSIGNED NULL; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; DROP TABLE t3; SHOW TABLES; CREATE TABLE t3(c1 MEDIUMINT NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 MODIFY c1 MEDIUMINT UNSIGNED NULL; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; DROP TABLE t3; SHOW TABLES; CREATE TABLE t3(c1 INT NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 MODIFY c1 INT UNSIGNED NULL; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; DROP TABLE t3; SHOW TABLES; CREATE TABLE t3(c1 INTEGER NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 MODIFY c1 INTEGER UNSIGNED NULL; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; DROP TABLE t3; SHOW TABLES; CREATE TABLE t3(c1 BIGINT NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 MODIFY c1 BIGINT UNSIGNED NULL; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; DROP TABLE t3; SHOW TABLES; CREATE TABLE t3(c1 REAL NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 MODIFY c1 REAL UNSIGNED NULL; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; DROP TABLE t3; SHOW TABLES; CREATE TABLE t3(c1 DOUBLE NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 MODIFY c1 DOUBLE UNSIGNED NULL; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; DROP TABLE t3; SHOW TABLES; CREATE TABLE t3(c1 FLOAT NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 MODIFY c1 FLOAT UNSIGNED NULL; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; DROP TABLE t3; SHOW TABLES; CREATE TABLE t3(c1 DECIMAL NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 MODIFY c1 DECIMAL UNSIGNED NULL; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; DROP TABLE t3; SHOW TABLES; CREATE TABLE t3(c1 NUMERIC NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 MODIFY c1 NUMERIC UNSIGNED NULL; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; DROP TABLE t3; SHOW TABLES; CREATE TABLE t3(c1 TINYINT NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 CHANGE c1 c1 TINYINT UNSIGNED NULL; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; DROP TABLE t3; SHOW TABLES; CREATE TABLE t3(c1 SMALLINT NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 CHANGE c1 c1 SMALLINT UNSIGNED NULL; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; DROP TABLE t3; SHOW TABLES; CREATE TABLE t3(c1 MEDIUMINT NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 CHANGE c1 c1 MEDIUMINT UNSIGNED NULL; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; DROP TABLE t3; SHOW TABLES; CREATE TABLE t3(c1 INT NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 CHANGE c1 c1 INT UNSIGNED NULL; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; DROP TABLE t3; SHOW TABLES; CREATE TABLE t3(c1 INTEGER NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 CHANGE c1 c1 INTEGER UNSIGNED NULL; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; DROP TABLE t3; SHOW TABLES; CREATE TABLE t3(c1 BIGINT NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 CHANGE c1 c1 BIGINT UNSIGNED NULL; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; DROP TABLE t3; SHOW TABLES; CREATE TABLE t3(c1 REAL NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 CHANGE c1 c1 REAL UNSIGNED NULL; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; DROP TABLE t3; SHOW TABLES; CREATE TABLE t3(c1 DOUBLE NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 CHANGE c1 c1 DOUBLE UNSIGNED NULL; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; DROP TABLE t3; SHOW TABLES; CREATE TABLE t3(c1 FLOAT NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 CHANGE c1 c1 FLOAT UNSIGNED NULL; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; DROP TABLE t3; SHOW TABLES; CREATE TABLE t3(c1 DECIMAL NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 CHANGE c1 c1 DECIMAL UNSIGNED NULL; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; DROP TABLE t3; SHOW TABLES; CREATE TABLE t3(c1 NUMERIC NULL); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 CHANGE c1 c1 NUMERIC UNSIGNED NULL; SHOW TABLES; --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; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 MODIFY c1 TINYINT UNSIGNED NOT NULL; SHOW TABLES; --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; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 MODIFY c1 SMALLINT UNSIGNED NOT NULL; SHOW TABLES; --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; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 MODIFY c1 MEDIUMINT UNSIGNED NOT NULL; SHOW TABLES; --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; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 MODIFY c1 INT UNSIGNED NOT NULL; SHOW TABLES; --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; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 MODIFY c1 INTEGER UNSIGNED NOT NULL; SHOW TABLES; --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; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 MODIFY c1 BIGINT UNSIGNED NOT NULL; SHOW TABLES; --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; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 MODIFY c1 REAL UNSIGNED NOT NULL; SHOW TABLES; --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; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 MODIFY c1 DOUBLE UNSIGNED NOT NULL; SHOW TABLES; --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; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 MODIFY c1 FLOAT UNSIGNED NOT NULL; SHOW TABLES; --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; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 MODIFY c1 DECIMAL UNSIGNED NOT NULL; SHOW TABLES; --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; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 MODIFY c1 NUMERIC UNSIGNED NOT NULL; SHOW TABLES; --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; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 CHANGE c1 c1 TINYINT UNSIGNED NOT NULL; SHOW TABLES; --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; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 CHANGE c1 c1 SMALLINT UNSIGNED NOT NULL; SHOW TABLES; --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; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 CHANGE c1 c1 MEDIUMINT UNSIGNED NOT NULL; SHOW TABLES; --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; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 CHANGE c1 c1 INT UNSIGNED NOT NULL; SHOW TABLES; --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; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 CHANGE c1 c1 INTEGER UNSIGNED NOT NULL; SHOW TABLES; --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; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 CHANGE c1 c1 BIGINT UNSIGNED NOT NULL; SHOW TABLES; --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; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 CHANGE c1 c1 REAL UNSIGNED NOT NULL; SHOW TABLES; --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; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 CHANGE c1 c1 DOUBLE UNSIGNED NOT NULL; SHOW TABLES; --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; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 CHANGE c1 c1 FLOAT UNSIGNED NOT NULL; SHOW TABLES; --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; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 CHANGE c1 c1 DECIMAL UNSIGNED NOT NULL; SHOW TABLES; --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; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; ALTER TABLE t3 CHANGE c1 c1 NUMERIC UNSIGNED NOT NULL; SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t3; DROP TABLE t3; SHOW TABLES;