summaryrefslogtreecommitdiff
path: root/mysql-test/r/insert_select.result
diff options
context:
space:
mode:
authorgluh@eagle.intranet.mysql.r18.ru <>2005-12-01 15:30:11 +0400
committergluh@eagle.intranet.mysql.r18.ru <>2005-12-01 15:30:11 +0400
commit21cc3ae5614434dd3b12ebb10a16b9656dba5d48 (patch)
treea4c4c8f31f5f4da6f1e120861d4711514587f19b /mysql-test/r/insert_select.result
parentfb057f13fb102887d8bed3c518aa5bd1419d92d5 (diff)
downloadmariadb-git-21cc3ae5614434dd3b12ebb10a16b9656dba5d48.tar.gz
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'
Diffstat (limited to 'mysql-test/r/insert_select.result')
-rw-r--r--mysql-test/r/insert_select.result4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/r/insert_select.result b/mysql-test/r/insert_select.result
index 434dddb3049..fa8c3f8a2b8 100644
--- a/mysql-test/r/insert_select.result
+++ b/mysql-test/r/insert_select.result
@@ -606,8 +606,8 @@ NULL 2 100
create table t2(No int not null, Field int not null, Count int not null);
insert into t2 Select null, Field, Count From t1 Where Month=20030901 and Type=2;
Warnings:
-Warning 1263 Column set to default value; NULL supplied to NOT NULL column 'No' at row 1
-Warning 1263 Column set to default value; NULL supplied to NOT NULL column 'No' at row 2
+Warning 1048 Column 'No' cannot be null
+Warning 1048 Column 'No' cannot be null
select * from t2;
No Field Count
0 1 100