DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (_id int, a int, PRIMARY KEY (_id) USING HASH);
INSERT INTO t1 VALUES(null, 100);
ERROR 23000: Column '_id' cannot be null
INSERT INTO t1 VALUES(1,100);
ERROR 01000: Data truncated for column '_id' at row 1
INSERT INTO t1 VALUES(1,100);
ERROR 01000: Data truncated for column '_id' at row 1
INSERT INTO t1 VALUES(1,100);
ERROR 01000: Data truncated for column '_id' at row 1
INSERT INTO t1 VALUES(1,100);
ERROR 01000: Data truncated for column '_id' at row 1
SELECT * FROM t1;
_id	a
SELECT * FROM t1 WHERE _id = 2;
_id	a
SELECT * FROM t1 WHERE _id = 20;
_id	a
DROP TABLE t1;
