mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
backport of Bug#11491 Misleading error message if not NULL column set to NULL, SQL mode TRADITIONAL
This commit is contained in:
@ -63,7 +63,7 @@ insert into t1 values(NULL);
|
||||
ERROR 23000: Column 'id' cannot be null
|
||||
insert into t1 values (1), (NULL), (2);
|
||||
Warnings:
|
||||
Warning 1263 Column was set to data type implicit default; NULL supplied for NOT NULL column 'id' at row 2
|
||||
Warning 1048 Column 'id' cannot be null
|
||||
select * from t1;
|
||||
id
|
||||
1
|
||||
|
Reference in New Issue
Block a user