Loading mysql-test/r/auto_increment.result +2 −2 Original line number Diff line number Diff line Loading @@ -232,7 +232,7 @@ a b delete from t1 where a=0; update t1 set a=NULL where b=6; Warnings: Warning 1263 Column set to default value; NULL supplied to NOT NULL column 'a' at row 4 Warning 1263 Column was set to data type implicit default; NULL supplied for NOT NULL column 'a' at row 4 update t1 set a=300 where b=7; SET SQL_MODE=''; insert into t1(a,b)values(NULL,8); Loading Loading @@ -274,7 +274,7 @@ a b delete from t1 where a=0; update t1 set a=NULL where b=13; Warnings: Warning 1263 Column set to default value; NULL supplied to NOT NULL column 'a' at row 9 Warning 1263 Column was set to data type implicit default; NULL supplied for NOT NULL column 'a' at row 9 update t1 set a=500 where b=14; select * from t1 order by b; a b Loading mysql-test/r/create.result +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ Warnings: Note 1050 Table 't1' already exists insert into t1 values (""),(null); Warnings: Warning 1263 Column set to default value; NULL supplied to NOT NULL column 'b' at row 2 Warning 1263 Column was set to data type implicit default; NULL supplied for NOT NULL column 'b' at row 2 select * from t1; b Loading mysql-test/r/insert.result +1 −1 Original line number Diff line number Diff line Loading @@ -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 set to default value; NULL supplied to NOT NULL column 'id' at row 2 Warning 1263 Column was set to data type implicit default; NULL supplied for NOT NULL column 'id' at row 2 select * from t1; id 1 Loading mysql-test/r/insert_select.result +2 −2 Original line number Diff line number Diff line Loading @@ -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 1263 Column was set to data type implicit default; NULL supplied for NOT NULL column 'No' at row 1 Warning 1263 Column was set to data type implicit default; NULL supplied for NOT NULL column 'No' at row 2 select * from t2; No Field Count 0 1 100 Loading mysql-test/r/key.result +2 −2 Original line number Diff line number Diff line Loading @@ -159,8 +159,8 @@ CREATE TABLE t1 (c CHAR(10) NOT NULL,i INT NOT NULL AUTO_INCREMENT, UNIQUE (c,i)); INSERT INTO t1 (c) VALUES (NULL),(NULL); Warnings: Warning 1263 Column set to default value; NULL supplied to NOT NULL column 'c' at row 1 Warning 1263 Column set to default value; NULL supplied to NOT NULL column 'c' at row 2 Warning 1263 Column was set to data type implicit default; NULL supplied for NOT NULL column 'c' at row 1 Warning 1263 Column was set to data type implicit default; NULL supplied for NOT NULL column 'c' at row 2 SELECT * FROM t1; c i 1 Loading Loading
mysql-test/r/auto_increment.result +2 −2 Original line number Diff line number Diff line Loading @@ -232,7 +232,7 @@ a b delete from t1 where a=0; update t1 set a=NULL where b=6; Warnings: Warning 1263 Column set to default value; NULL supplied to NOT NULL column 'a' at row 4 Warning 1263 Column was set to data type implicit default; NULL supplied for NOT NULL column 'a' at row 4 update t1 set a=300 where b=7; SET SQL_MODE=''; insert into t1(a,b)values(NULL,8); Loading Loading @@ -274,7 +274,7 @@ a b delete from t1 where a=0; update t1 set a=NULL where b=13; Warnings: Warning 1263 Column set to default value; NULL supplied to NOT NULL column 'a' at row 9 Warning 1263 Column was set to data type implicit default; NULL supplied for NOT NULL column 'a' at row 9 update t1 set a=500 where b=14; select * from t1 order by b; a b Loading
mysql-test/r/create.result +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ Warnings: Note 1050 Table 't1' already exists insert into t1 values (""),(null); Warnings: Warning 1263 Column set to default value; NULL supplied to NOT NULL column 'b' at row 2 Warning 1263 Column was set to data type implicit default; NULL supplied for NOT NULL column 'b' at row 2 select * from t1; b Loading
mysql-test/r/insert.result +1 −1 Original line number Diff line number Diff line Loading @@ -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 set to default value; NULL supplied to NOT NULL column 'id' at row 2 Warning 1263 Column was set to data type implicit default; NULL supplied for NOT NULL column 'id' at row 2 select * from t1; id 1 Loading
mysql-test/r/insert_select.result +2 −2 Original line number Diff line number Diff line Loading @@ -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 1263 Column was set to data type implicit default; NULL supplied for NOT NULL column 'No' at row 1 Warning 1263 Column was set to data type implicit default; NULL supplied for NOT NULL column 'No' at row 2 select * from t2; No Field Count 0 1 100 Loading
mysql-test/r/key.result +2 −2 Original line number Diff line number Diff line Loading @@ -159,8 +159,8 @@ CREATE TABLE t1 (c CHAR(10) NOT NULL,i INT NOT NULL AUTO_INCREMENT, UNIQUE (c,i)); INSERT INTO t1 (c) VALUES (NULL),(NULL); Warnings: Warning 1263 Column set to default value; NULL supplied to NOT NULL column 'c' at row 1 Warning 1263 Column set to default value; NULL supplied to NOT NULL column 'c' at row 2 Warning 1263 Column was set to data type implicit default; NULL supplied for NOT NULL column 'c' at row 1 Warning 1263 Column was set to data type implicit default; NULL supplied for NOT NULL column 'c' at row 2 SELECT * FROM t1; c i 1 Loading