1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Test suites for engine testing, moved from test-extra so will be available

for general use.


mysql-test/Makefile.am:
  Adding directories of additional test suites
mysql-test/mysql-stress-test.pl:
  Adding check for additional errors checking during test run
This commit is contained in:
Omer BarNir
2010-03-17 23:42:07 -07:00
parent 96d4a03846
commit c92b9b7315
916 changed files with 937114 additions and 4 deletions

View File

@ -0,0 +1,925 @@
DROP TABLE IF EXISTS t3;
CREATE TABLE t3(c1 TINYINT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` tinyint(4) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 MODIFY c1 TINYINT UNSIGNED NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` tinyint(3) unsigned DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 SMALLINT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` smallint(6) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 MODIFY c1 SMALLINT UNSIGNED NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` smallint(5) unsigned DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 MEDIUMINT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` mediumint(9) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 MODIFY c1 MEDIUMINT UNSIGNED NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` mediumint(8) unsigned DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 INT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` int(11) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 MODIFY c1 INT UNSIGNED NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` int(10) unsigned DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 INTEGER NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` int(11) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 MODIFY c1 INTEGER UNSIGNED NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` int(10) unsigned DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 BIGINT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` bigint(20) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 MODIFY c1 BIGINT UNSIGNED NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` bigint(20) unsigned DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 REAL NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` double DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 MODIFY c1 REAL UNSIGNED NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` double unsigned DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 DOUBLE NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` double DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 MODIFY c1 DOUBLE UNSIGNED NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` double unsigned DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 FLOAT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` float DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 MODIFY c1 FLOAT UNSIGNED NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` float unsigned DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 DECIMAL NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` decimal(10,0) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 MODIFY c1 DECIMAL UNSIGNED NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` decimal(10,0) unsigned DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 NUMERIC NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` decimal(10,0) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 MODIFY c1 NUMERIC UNSIGNED NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` decimal(10,0) unsigned DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 TINYINT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` tinyint(4) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 CHANGE c1 c1 TINYINT UNSIGNED NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` tinyint(3) unsigned DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 SMALLINT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` smallint(6) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 CHANGE c1 c1 SMALLINT UNSIGNED NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` smallint(5) unsigned DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 MEDIUMINT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` mediumint(9) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 CHANGE c1 c1 MEDIUMINT UNSIGNED NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` mediumint(8) unsigned DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 INT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` int(11) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 CHANGE c1 c1 INT UNSIGNED NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` int(10) unsigned DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 INTEGER NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` int(11) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 CHANGE c1 c1 INTEGER UNSIGNED NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` int(10) unsigned DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 BIGINT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` bigint(20) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 CHANGE c1 c1 BIGINT UNSIGNED NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` bigint(20) unsigned DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 REAL NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` double DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 CHANGE c1 c1 REAL UNSIGNED NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` double unsigned DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 DOUBLE NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` double DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 CHANGE c1 c1 DOUBLE UNSIGNED NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` double unsigned DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 FLOAT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` float DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 CHANGE c1 c1 FLOAT UNSIGNED NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` float unsigned DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 DECIMAL NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` decimal(10,0) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 CHANGE c1 c1 DECIMAL UNSIGNED NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` decimal(10,0) unsigned DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 NUMERIC NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` decimal(10,0) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 CHANGE c1 c1 NUMERIC UNSIGNED NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` decimal(10,0) unsigned DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 TINYINT NOT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` tinyint(4) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 MODIFY c1 TINYINT UNSIGNED NOT NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` tinyint(3) unsigned NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 SMALLINT NOT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` smallint(6) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 MODIFY c1 SMALLINT UNSIGNED NOT NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` smallint(5) unsigned NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 MEDIUMINT NOT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` mediumint(9) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 MODIFY c1 MEDIUMINT UNSIGNED NOT NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` mediumint(8) unsigned NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 INT NOT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` int(11) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 MODIFY c1 INT UNSIGNED NOT NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` int(10) unsigned NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 INTEGER NOT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` int(11) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 MODIFY c1 INTEGER UNSIGNED NOT NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` int(10) unsigned NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 BIGINT NOT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` bigint(20) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 MODIFY c1 BIGINT UNSIGNED NOT NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` bigint(20) unsigned NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 REAL NOT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` double NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 MODIFY c1 REAL UNSIGNED NOT NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` double unsigned NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 DOUBLE NOT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` double NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 MODIFY c1 DOUBLE UNSIGNED NOT NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` double unsigned NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 FLOAT NOT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` float NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 MODIFY c1 FLOAT UNSIGNED NOT NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` float unsigned NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 DECIMAL NOT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` decimal(10,0) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 MODIFY c1 DECIMAL UNSIGNED NOT NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` decimal(10,0) unsigned NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 NUMERIC NOT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` decimal(10,0) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 MODIFY c1 NUMERIC UNSIGNED NOT NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` decimal(10,0) unsigned NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 TINYINT NOT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` tinyint(4) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 CHANGE c1 c1 TINYINT UNSIGNED NOT NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` tinyint(3) unsigned NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 SMALLINT NOT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` smallint(6) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 CHANGE c1 c1 SMALLINT UNSIGNED NOT NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` smallint(5) unsigned NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 MEDIUMINT NOT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` mediumint(9) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 CHANGE c1 c1 MEDIUMINT UNSIGNED NOT NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` mediumint(8) unsigned NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 INT NOT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` int(11) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 CHANGE c1 c1 INT UNSIGNED NOT NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` int(10) unsigned NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 INTEGER NOT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` int(11) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 CHANGE c1 c1 INTEGER UNSIGNED NOT NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` int(10) unsigned NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 BIGINT NOT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` bigint(20) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 CHANGE c1 c1 BIGINT UNSIGNED NOT NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` bigint(20) unsigned NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 REAL NOT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` double NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 CHANGE c1 c1 REAL UNSIGNED NOT NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` double unsigned NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 DOUBLE NOT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` double NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 CHANGE c1 c1 DOUBLE UNSIGNED NOT NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` double unsigned NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 FLOAT NOT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` float NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 CHANGE c1 c1 FLOAT UNSIGNED NOT NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` float unsigned NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 DECIMAL NOT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` decimal(10,0) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 CHANGE c1 c1 DECIMAL UNSIGNED NOT NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` decimal(10,0) unsigned NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test
CREATE TABLE t3(c1 NUMERIC NOT NULL);
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` decimal(10,0) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t3 CHANGE c1 c1 NUMERIC UNSIGNED NOT NULL;
SHOW TABLES;
Tables_in_test
t3
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
`c1` decimal(10,0) unsigned NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t3;
SHOW TABLES;
Tables_in_test