config root man

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
Upload File :
Current File : //home/usr.opt/mysql57/mysql-test/suite/engines/funcs/r/ta_column_to_null.result

DROP TABLE IF EXISTS t2;
CREATE TABLE t2(c1 BIT NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` bit(1) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 MODIFY c1 BIT NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` bit(1) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 TINYINT NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` tinyint(4) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 MODIFY c1 TINYINT NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` tinyint(4) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 SMALLINT NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` smallint(6) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 MODIFY c1 SMALLINT NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` smallint(6) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 MEDIUMINT NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` mediumint(9) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 MODIFY c1 MEDIUMINT NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` mediumint(9) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 INT NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` int(11) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 MODIFY c1 INT NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` int(11) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 INTEGER NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` int(11) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 MODIFY c1 INTEGER NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` int(11) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 BIGINT NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` bigint(20) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 MODIFY c1 BIGINT NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` bigint(20) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 REAL NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` double NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 MODIFY c1 REAL NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` double DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 DOUBLE NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` double NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 MODIFY c1 DOUBLE NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` double DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 FLOAT NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` float NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 MODIFY c1 FLOAT NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` float DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 DECIMAL NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` decimal(10,0) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 MODIFY c1 DECIMAL NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` decimal(10,0) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 NUMERIC NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` decimal(10,0) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 MODIFY c1 NUMERIC NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` decimal(10,0) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 DATE NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` date NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 MODIFY c1 DATE NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` date DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 TIME NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` time NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 MODIFY c1 TIME NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` time DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 TIMESTAMP NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 MODIFY c1 TIMESTAMP NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` timestamp NULL DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 YEAR NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` year(4) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 MODIFY c1 YEAR NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` year(4) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 TINYBLOB NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` tinyblob NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 MODIFY c1 TINYBLOB NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` tinyblob
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 BLOB NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` blob NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 MODIFY c1 BLOB NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` blob
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 MEDIUMBLOB NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` mediumblob NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 MODIFY c1 MEDIUMBLOB NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` mediumblob
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 LONGBLOB NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` longblob NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 MODIFY c1 LONGBLOB NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` longblob
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 TINYTEXT NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` tinytext NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 MODIFY c1 TINYTEXT NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` tinytext
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 TEXT NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` text NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 MODIFY c1 TEXT NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` text
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 MEDIUMTEXT NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` mediumtext NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 MODIFY c1 MEDIUMTEXT NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` mediumtext
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 LONGTEXT NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` longtext NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 MODIFY c1 LONGTEXT NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` longtext
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 BIT NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` bit(1) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 CHANGE c1 c1 BIT NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` bit(1) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 TINYINT NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` tinyint(4) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 CHANGE c1 c1 TINYINT NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` tinyint(4) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 SMALLINT NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` smallint(6) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 CHANGE c1 c1 SMALLINT NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` smallint(6) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 MEDIUMINT NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` mediumint(9) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 CHANGE c1 c1 MEDIUMINT NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` mediumint(9) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 INT NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` int(11) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 CHANGE c1 c1 INT NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` int(11) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 INTEGER NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` int(11) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 CHANGE c1 c1 INTEGER NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` int(11) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 BIGINT NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` bigint(20) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 CHANGE c1 c1 BIGINT NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` bigint(20) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 REAL NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` double NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 CHANGE c1 c1 REAL NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` double DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 DOUBLE NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` double NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 CHANGE c1 c1 DOUBLE NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` double DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 FLOAT NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` float NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 CHANGE c1 c1 FLOAT NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` float DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 DECIMAL NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` decimal(10,0) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 CHANGE c1 c1 DECIMAL NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` decimal(10,0) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 NUMERIC NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` decimal(10,0) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 CHANGE c1 c1 NUMERIC NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` decimal(10,0) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 DATE NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` date NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 CHANGE c1 c1 DATE NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` date DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 TIME NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` time NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 CHANGE c1 c1 TIME NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` time DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 TIMESTAMP NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 CHANGE c1 c1 TIMESTAMP NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` timestamp NULL DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 YEAR NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` year(4) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 CHANGE c1 c1 YEAR NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` year(4) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 TINYBLOB NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` tinyblob NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 CHANGE c1 c1 TINYBLOB NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` tinyblob
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 BLOB NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` blob NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 CHANGE c1 c1 BLOB NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` blob
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 MEDIUMBLOB NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` mediumblob NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 CHANGE c1 c1 MEDIUMBLOB NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` mediumblob
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 LONGBLOB NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` longblob NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 CHANGE c1 c1 LONGBLOB NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` longblob
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 TINYTEXT NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` tinytext NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 CHANGE c1 c1 TINYTEXT NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` tinytext
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 TEXT NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` text NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 CHANGE c1 c1 TEXT NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` text
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 MEDIUMTEXT NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` mediumtext NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 CHANGE c1 c1 MEDIUMTEXT NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` mediumtext
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 LONGTEXT NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` longtext NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t2 CHANGE c1 c1 LONGTEXT NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table	Create Table
t2	CREATE TABLE `t2` (
  `c1` longtext
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t2;
SHOW TABLES;
Tables_in_test

Man Man