1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

Fix for bug#11491 Misleading error message if not NULL column set to NULL,

SQL mode TRADITIONAL
  Message is chenged from 'ER_WARN_NULL_TO_NOTNULL' to 'ER_BAD_NULL_ERROR'
This commit is contained in:
gluh@eagle.intranet.mysql.r18.ru
2005-12-01 15:30:11 +04:00
parent fb057f13fb
commit 21cc3ae561
18 changed files with 43 additions and 44 deletions

View File

@@ -342,7 +342,7 @@ index (id2)
);
insert into t1 values(null,null),(1,1);
Warnings:
Warning 1263 Column set to default value; NULL supplied to NOT NULL column 'id2' at row 1
Warning 1048 Column 'id2' cannot be null
select * from t1;
id id2
NULL 0