DROP TABLE IF EXISTS t1;
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 TINYINT   AUTO_INCREMENT NULL KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` tinyint(4) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 SMALLINT   AUTO_INCREMENT NULL KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` smallint(6) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 MEDIUMINT   AUTO_INCREMENT NULL KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` mediumint(9) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 INT   AUTO_INCREMENT NULL KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` int(11) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 INTEGER   AUTO_INCREMENT NULL KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` int(11) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 BIGINT   AUTO_INCREMENT NULL KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` bigint(20) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 TINYINT   AUTO_INCREMENT NOT NULL KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` tinyint(4) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 SMALLINT   AUTO_INCREMENT NOT NULL KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` smallint(6) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 MEDIUMINT   AUTO_INCREMENT NOT NULL KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` mediumint(9) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 INT   AUTO_INCREMENT NOT NULL KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` int(11) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 INTEGER   AUTO_INCREMENT NOT NULL KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` int(11) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 BIGINT   AUTO_INCREMENT NOT NULL KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` bigint(20) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 TINYINT   AUTO_INCREMENT NULL UNIQUE KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` tinyint(4) AUTO_INCREMENT,
  UNIQUE KEY `c1` (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 SMALLINT   AUTO_INCREMENT NULL UNIQUE KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` smallint(6) AUTO_INCREMENT,
  UNIQUE KEY `c1` (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 MEDIUMINT   AUTO_INCREMENT NULL UNIQUE KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` mediumint(9) AUTO_INCREMENT,
  UNIQUE KEY `c1` (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 INT   AUTO_INCREMENT NULL UNIQUE KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` int(11) AUTO_INCREMENT,
  UNIQUE KEY `c1` (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 INTEGER   AUTO_INCREMENT NULL UNIQUE KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` int(11) AUTO_INCREMENT,
  UNIQUE KEY `c1` (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 BIGINT   AUTO_INCREMENT NULL UNIQUE KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` bigint(20) AUTO_INCREMENT,
  UNIQUE KEY `c1` (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 TINYINT   AUTO_INCREMENT NOT NULL UNIQUE KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` tinyint(4) NOT NULL AUTO_INCREMENT,
  UNIQUE KEY `c1` (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 SMALLINT   AUTO_INCREMENT NOT NULL UNIQUE KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` smallint(6) NOT NULL AUTO_INCREMENT,
  UNIQUE KEY `c1` (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 MEDIUMINT   AUTO_INCREMENT NOT NULL UNIQUE KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` mediumint(9) NOT NULL AUTO_INCREMENT,
  UNIQUE KEY `c1` (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 INT   AUTO_INCREMENT NOT NULL UNIQUE KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` int(11) NOT NULL AUTO_INCREMENT,
  UNIQUE KEY `c1` (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 INTEGER   AUTO_INCREMENT NOT NULL UNIQUE KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` int(11) NOT NULL AUTO_INCREMENT,
  UNIQUE KEY `c1` (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 BIGINT   AUTO_INCREMENT NOT NULL UNIQUE KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` bigint(20) NOT NULL AUTO_INCREMENT,
  UNIQUE KEY `c1` (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 TINYINT   AUTO_INCREMENT NOT NULL PRIMARY KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` tinyint(4) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 SMALLINT   AUTO_INCREMENT NOT NULL PRIMARY KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` smallint(6) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 MEDIUMINT   AUTO_INCREMENT NOT NULL PRIMARY KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` mediumint(9) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 INT   AUTO_INCREMENT NOT NULL PRIMARY KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` int(11) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 INTEGER   AUTO_INCREMENT NOT NULL PRIMARY KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` int(11) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 BIGINT   AUTO_INCREMENT NOT NULL PRIMARY KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` bigint(20) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NULL KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NULL KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NULL KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NULL KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` int(10) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NULL KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` int(10) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NULL KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NOT NULL KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NOT NULL KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NOT NULL KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` int(10) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NOT NULL KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` int(10) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NOT NULL KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` tinyint(3) unsigned AUTO_INCREMENT,
  UNIQUE KEY `c1` (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` smallint(5) unsigned AUTO_INCREMENT,
  UNIQUE KEY `c1` (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` mediumint(8) unsigned AUTO_INCREMENT,
  UNIQUE KEY `c1` (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` int(10) unsigned AUTO_INCREMENT,
  UNIQUE KEY `c1` (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` int(10) unsigned AUTO_INCREMENT,
  UNIQUE KEY `c1` (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` bigint(20) unsigned AUTO_INCREMENT,
  UNIQUE KEY `c1` (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
  UNIQUE KEY `c1` (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  UNIQUE KEY `c1` (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  UNIQUE KEY `c1` (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` int(10) unsigned NOT NULL AUTO_INCREMENT,
  UNIQUE KEY `c1` (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` int(10) unsigned NOT NULL AUTO_INCREMENT,
  UNIQUE KEY `c1` (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  UNIQUE KEY `c1` (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` int(10) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` int(10) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
SET SQL_MODE='TRADITIONAL';
CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY );
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1
INSERT INTO t1 VALUES(111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
INSERT INTO t1 VALUES(-1111111111111111111111111111111111111);
ERROR 22003: Out of range value for column 'c1' at row 1
SELECT * FROM t1;
c1
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
SET SQL_MODE='';
