diff options
Diffstat (limited to 'mysql-test/t/insert.test')
-rw-r--r-- | mysql-test/t/insert.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/t/insert.test b/mysql-test/t/insert.test index 2c912d94c70..0bca8dc5890 100644 --- a/mysql-test/t/insert.test +++ b/mysql-test/t/insert.test @@ -40,6 +40,15 @@ select a,t>0,c,i from t1; drop table t1; # +# Test problem with bulk insert and auto_increment on second part keys +# + +create table t1 (sid char(20), id int(2) NOT NULL auto_increment, key(sid, id)); +insert into t1 values ('skr',NULL),('skr',NULL),('test',NULL); +select * from t1; +drop table t1; + +# # Test of mysqld crash with fully qualified column names # |