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
