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_drop_pk_string.result |
DROP TABLE IF EXISTS t9; CREATE TABLE t9(c1 CHAR(20) NOT NULL PRIMARY KEY); SHOW TABLES; Tables_in_test t9 SHOW CREATE TABLE t9; Table Create Table t9 CREATE TABLE `t9` ( `c1` char(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t9 DROP PRIMARY KEY; SHOW TABLES; Tables_in_test t9 SHOW CREATE TABLE t9; Table Create Table t9 CREATE TABLE `t9` ( `c1` char(20) NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t9; SHOW TABLES; Tables_in_test CREATE TABLE t9(c1 VARCHAR(20) NOT NULL PRIMARY KEY); SHOW TABLES; Tables_in_test t9 SHOW CREATE TABLE t9; Table Create Table t9 CREATE TABLE `t9` ( `c1` varchar(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t9 DROP PRIMARY KEY; SHOW TABLES; Tables_in_test t9 SHOW CREATE TABLE t9; Table Create Table t9 CREATE TABLE `t9` ( `c1` varchar(20) NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t9; SHOW TABLES; Tables_in_test CREATE TABLE t9(c1 BINARY(20) NOT NULL PRIMARY KEY); SHOW TABLES; Tables_in_test t9 SHOW CREATE TABLE t9; Table Create Table t9 CREATE TABLE `t9` ( `c1` binary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t9 DROP PRIMARY KEY; SHOW TABLES; Tables_in_test t9 SHOW CREATE TABLE t9; Table Create Table t9 CREATE TABLE `t9` ( `c1` binary(20) NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t9; SHOW TABLES; Tables_in_test CREATE TABLE t9(c1 VARBINARY(20) NOT NULL PRIMARY KEY); SHOW TABLES; Tables_in_test t9 SHOW CREATE TABLE t9; Table Create Table t9 CREATE TABLE `t9` ( `c1` varbinary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t9 DROP PRIMARY KEY; SHOW TABLES; Tables_in_test t9 SHOW CREATE TABLE t9; Table Create Table t9 CREATE TABLE `t9` ( `c1` varbinary(20) NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t9; SHOW TABLES; Tables_in_test