diff options
author | hf@deer.(none) <> | 2003-06-24 10:53:21 +0500 |
---|---|---|
committer | hf@deer.(none) <> | 2003-06-24 10:53:21 +0500 |
commit | 3007290f832e0fda79780e0b4316f1f55a6c952c (patch) | |
tree | 31d4acfcfe7089167f37ea80cf5d57bc207f9240 /mysql-test/t/insert.test | |
parent | eb901ea4611b5d682376fb5f885e229d499bdcc0 (diff) | |
download | mariadb-git-3007290f832e0fda79780e0b4316f1f55a6c952c.tar.gz |
Another bugfix for #615
Looks a bit nicer than previous one
Diffstat (limited to 'mysql-test/t/insert.test')
-rw-r--r-- | mysql-test/t/insert.test | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/t/insert.test b/mysql-test/t/insert.test index 9b06b522028..be585157e63 100644 --- a/mysql-test/t/insert.test +++ b/mysql-test/t/insert.test @@ -51,6 +51,17 @@ select * from t1; drop table t1; # +#Test of behaviour with INSERT VALUES (NULL) +# + +create table t1 (id int NOT NULL DEFAULT 8); +-- error 1048 +insert into t1 values(NULL); +insert into t1 values (1), (NULL), (2); +select * from t1; +drop table t1; + +# # Test of mysqld crash with fully qualified column names # @@ -60,3 +71,4 @@ use foo; create table t1 (c int); insert into foo.t1 set foo.t1.c = '1'; drop database foo; + |