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/ix_unique_decimals.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 t6,t7; --enable_warnings CREATE TABLE t6(c1 REAL(1,0) NULL); CREATE UNIQUE INDEX i1 ON t6(c1); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t6; DROP TABLE t6; SHOW TABLES; CREATE TABLE t7(c1 REAL(5,4) NULL); CREATE UNIQUE INDEX i1 ON t7(c1); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t7; DROP TABLE t7; SHOW TABLES; CREATE TABLE t6(c1 DOUBLE(1,0) NULL); CREATE UNIQUE INDEX i1 ON t6(c1); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t6; DROP TABLE t6; SHOW TABLES; CREATE TABLE t7(c1 DOUBLE(5,4) NULL); CREATE UNIQUE INDEX i1 ON t7(c1); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t7; DROP TABLE t7; SHOW TABLES; CREATE TABLE t6(c1 FLOAT(1,0) NULL); CREATE UNIQUE INDEX i1 ON t6(c1); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t6; DROP TABLE t6; SHOW TABLES; CREATE TABLE t7(c1 FLOAT(5,4) NULL); CREATE UNIQUE INDEX i1 ON t7(c1); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t7; DROP TABLE t7; SHOW TABLES; CREATE TABLE t6(c1 DECIMAL(1,0) NULL); CREATE UNIQUE INDEX i1 ON t6(c1); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t6; DROP TABLE t6; SHOW TABLES; CREATE TABLE t7(c1 DECIMAL(5,4) NULL); CREATE UNIQUE INDEX i1 ON t7(c1); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t7; DROP TABLE t7; SHOW TABLES; CREATE TABLE t6(c1 NUMERIC(1,0) NULL); CREATE UNIQUE INDEX i1 ON t6(c1); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t6; DROP TABLE t6; SHOW TABLES; CREATE TABLE t7(c1 NUMERIC(5,4) NULL); CREATE UNIQUE INDEX i1 ON t7(c1); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t7; DROP TABLE t7; SHOW TABLES; CREATE TABLE t6(c1 REAL(1,0) NOT NULL); CREATE UNIQUE INDEX i1 ON t6(c1); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t6; DROP TABLE t6; SHOW TABLES; CREATE TABLE t7(c1 REAL(5,4) NOT NULL); CREATE UNIQUE INDEX i1 ON t7(c1); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t7; DROP TABLE t7; SHOW TABLES; CREATE TABLE t6(c1 DOUBLE(1,0) NOT NULL); CREATE UNIQUE INDEX i1 ON t6(c1); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t6; DROP TABLE t6; SHOW TABLES; CREATE TABLE t7(c1 DOUBLE(5,4) NOT NULL); CREATE UNIQUE INDEX i1 ON t7(c1); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t7; DROP TABLE t7; SHOW TABLES; CREATE TABLE t6(c1 FLOAT(1,0) NOT NULL); CREATE UNIQUE INDEX i1 ON t6(c1); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t6; DROP TABLE t6; SHOW TABLES; CREATE TABLE t7(c1 FLOAT(5,4) NOT NULL); CREATE UNIQUE INDEX i1 ON t7(c1); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t7; DROP TABLE t7; SHOW TABLES; CREATE TABLE t6(c1 DECIMAL(1,0) NOT NULL); CREATE UNIQUE INDEX i1 ON t6(c1); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t6; DROP TABLE t6; SHOW TABLES; CREATE TABLE t7(c1 DECIMAL(5,4) NOT NULL); CREATE UNIQUE INDEX i1 ON t7(c1); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t7; DROP TABLE t7; SHOW TABLES; CREATE TABLE t6(c1 NUMERIC(1,0) NOT NULL); CREATE UNIQUE INDEX i1 ON t6(c1); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t6; DROP TABLE t6; SHOW TABLES; CREATE TABLE t7(c1 NUMERIC(5,4) NOT NULL); CREATE UNIQUE INDEX i1 ON t7(c1); SHOW TABLES; --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" SHOW CREATE TABLE t7; DROP TABLE t7; SHOW TABLES;