Current Path : /home/usr.opt/mysql57/mysql-test/suite/engines/funcs/r/ |
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/r/ta_add_string_middle.result |
DROP TABLE IF EXISTS t5; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10) NULL, c3 CHAR(20) NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` char(10) DEFAULT NULL, `c3` char(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t5 ADD c4 CHAR(20) NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` char(10) DEFAULT NULL, `c4` char(20) DEFAULT NULL, `c3` char(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10) NULL, c3 VARCHAR(20) NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varchar(10) DEFAULT NULL, `c3` varchar(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t5 ADD c4 CHAR(20) NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varchar(10) DEFAULT NULL, `c4` char(20) DEFAULT NULL, `c3` varchar(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10) NULL, c3 BINARY(20) NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` binary(10) DEFAULT NULL, `c3` binary(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t5 ADD c4 CHAR(20) NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` binary(10) DEFAULT NULL, `c4` char(20) DEFAULT NULL, `c3` binary(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10) NULL, c3 VARBINARY(20) NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varbinary(10) DEFAULT NULL, `c3` varbinary(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t5 ADD c4 CHAR(20) NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varbinary(10) DEFAULT NULL, `c4` char(20) DEFAULT NULL, `c3` varbinary(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10) NOT NULL, c3 CHAR(20) NOT NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` char(10) NOT NULL, `c3` char(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t5 ADD c4 CHAR(20) NOT NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` char(10) NOT NULL, `c4` char(20) NOT NULL, `c3` char(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10) NOT NULL, c3 VARCHAR(20) NOT NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varchar(10) NOT NULL, `c3` varchar(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t5 ADD c4 CHAR(20) NOT NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varchar(10) NOT NULL, `c4` char(20) NOT NULL, `c3` varchar(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10) NOT NULL, c3 BINARY(20) NOT NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` binary(10) NOT NULL, `c3` binary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t5 ADD c4 CHAR(20) NOT NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` binary(10) NOT NULL, `c4` char(20) NOT NULL, `c3` binary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10) NOT NULL, c3 VARBINARY(20) NOT NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varbinary(10) NOT NULL, `c3` varbinary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t5 ADD c4 CHAR(20) NOT NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varbinary(10) NOT NULL, `c4` char(20) NOT NULL, `c3` varbinary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10) NULL, c3 CHAR(20) NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` char(10) DEFAULT NULL, `c3` char(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t5 ADD c4 VARCHAR(20) NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` char(10) DEFAULT NULL, `c4` varchar(20) DEFAULT NULL, `c3` char(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10) NULL, c3 VARCHAR(20) NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varchar(10) DEFAULT NULL, `c3` varchar(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t5 ADD c4 VARCHAR(20) NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varchar(10) DEFAULT NULL, `c4` varchar(20) DEFAULT NULL, `c3` varchar(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10) NULL, c3 BINARY(20) NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` binary(10) DEFAULT NULL, `c3` binary(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t5 ADD c4 VARCHAR(20) NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` binary(10) DEFAULT NULL, `c4` varchar(20) DEFAULT NULL, `c3` binary(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10) NULL, c3 VARBINARY(20) NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varbinary(10) DEFAULT NULL, `c3` varbinary(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t5 ADD c4 VARCHAR(20) NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varbinary(10) DEFAULT NULL, `c4` varchar(20) DEFAULT NULL, `c3` varbinary(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10) NOT NULL, c3 CHAR(20) NOT NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` char(10) NOT NULL, `c3` char(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t5 ADD c4 VARCHAR(20) NOT NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` char(10) NOT NULL, `c4` varchar(20) NOT NULL, `c3` char(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10) NOT NULL, c3 VARCHAR(20) NOT NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varchar(10) NOT NULL, `c3` varchar(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t5 ADD c4 VARCHAR(20) NOT NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varchar(10) NOT NULL, `c4` varchar(20) NOT NULL, `c3` varchar(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10) NOT NULL, c3 BINARY(20) NOT NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` binary(10) NOT NULL, `c3` binary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t5 ADD c4 VARCHAR(20) NOT NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` binary(10) NOT NULL, `c4` varchar(20) NOT NULL, `c3` binary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10) NOT NULL, c3 VARBINARY(20) NOT NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varbinary(10) NOT NULL, `c3` varbinary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t5 ADD c4 VARCHAR(20) NOT NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varbinary(10) NOT NULL, `c4` varchar(20) NOT NULL, `c3` varbinary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10) NULL, c3 CHAR(20) NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` char(10) DEFAULT NULL, `c3` char(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t5 ADD c4 BINARY(20) NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` char(10) DEFAULT NULL, `c4` binary(20) DEFAULT NULL, `c3` char(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10) NULL, c3 VARCHAR(20) NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varchar(10) DEFAULT NULL, `c3` varchar(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t5 ADD c4 BINARY(20) NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varchar(10) DEFAULT NULL, `c4` binary(20) DEFAULT NULL, `c3` varchar(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10) NULL, c3 BINARY(20) NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` binary(10) DEFAULT NULL, `c3` binary(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t5 ADD c4 BINARY(20) NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` binary(10) DEFAULT NULL, `c4` binary(20) DEFAULT NULL, `c3` binary(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10) NULL, c3 VARBINARY(20) NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varbinary(10) DEFAULT NULL, `c3` varbinary(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t5 ADD c4 BINARY(20) NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varbinary(10) DEFAULT NULL, `c4` binary(20) DEFAULT NULL, `c3` varbinary(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10) NOT NULL, c3 CHAR(20) NOT NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` char(10) NOT NULL, `c3` char(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t5 ADD c4 BINARY(20) NOT NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` char(10) NOT NULL, `c4` binary(20) NOT NULL, `c3` char(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10) NOT NULL, c3 VARCHAR(20) NOT NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varchar(10) NOT NULL, `c3` varchar(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t5 ADD c4 BINARY(20) NOT NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varchar(10) NOT NULL, `c4` binary(20) NOT NULL, `c3` varchar(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10) NOT NULL, c3 BINARY(20) NOT NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` binary(10) NOT NULL, `c3` binary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t5 ADD c4 BINARY(20) NOT NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` binary(10) NOT NULL, `c4` binary(20) NOT NULL, `c3` binary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10) NOT NULL, c3 VARBINARY(20) NOT NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varbinary(10) NOT NULL, `c3` varbinary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t5 ADD c4 BINARY(20) NOT NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varbinary(10) NOT NULL, `c4` binary(20) NOT NULL, `c3` varbinary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10) NULL, c3 CHAR(20) NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` char(10) DEFAULT NULL, `c3` char(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t5 ADD c4 VARBINARY(20) NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` char(10) DEFAULT NULL, `c4` varbinary(20) DEFAULT NULL, `c3` char(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10) NULL, c3 VARCHAR(20) NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varchar(10) DEFAULT NULL, `c3` varchar(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t5 ADD c4 VARBINARY(20) NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varchar(10) DEFAULT NULL, `c4` varbinary(20) DEFAULT NULL, `c3` varchar(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10) NULL, c3 BINARY(20) NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` binary(10) DEFAULT NULL, `c3` binary(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t5 ADD c4 VARBINARY(20) NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` binary(10) DEFAULT NULL, `c4` varbinary(20) DEFAULT NULL, `c3` binary(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10) NULL, c3 VARBINARY(20) NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varbinary(10) DEFAULT NULL, `c3` varbinary(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t5 ADD c4 VARBINARY(20) NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varbinary(10) DEFAULT NULL, `c4` varbinary(20) DEFAULT NULL, `c3` varbinary(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10) NOT NULL, c3 CHAR(20) NOT NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` char(10) NOT NULL, `c3` char(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t5 ADD c4 VARBINARY(20) NOT NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` char(10) NOT NULL, `c4` varbinary(20) NOT NULL, `c3` char(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10) NOT NULL, c3 VARCHAR(20) NOT NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varchar(10) NOT NULL, `c3` varchar(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t5 ADD c4 VARBINARY(20) NOT NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varchar(10) NOT NULL, `c4` varbinary(20) NOT NULL, `c3` varchar(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10) NOT NULL, c3 BINARY(20) NOT NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` binary(10) NOT NULL, `c3` binary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t5 ADD c4 VARBINARY(20) NOT NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` binary(10) NOT NULL, `c4` varbinary(20) NOT NULL, `c3` binary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10) NOT NULL, c3 VARBINARY(20) NOT NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varbinary(10) NOT NULL, `c3` varbinary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t5 ADD c4 VARBINARY(20) NOT NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varbinary(10) NOT NULL, `c4` varbinary(20) NOT NULL, `c3` varbinary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t5; SHOW TABLES; Tables_in_test