diff --git a/mysql-test/r/csv_not_null.result b/mysql-test/r/csv_not_null.result index ccd88631ce6..77026b8f056 100644 --- a/mysql-test/r/csv_not_null.result +++ b/mysql-test/r/csv_not_null.result @@ -38,9 +38,6 @@ DROP TABLE t1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 (a int NOT NULL, b char(10) NOT NULL) ENGINE = CSV; INSERT INTO t1 VALUES(); -Warnings: -Warning 1364 Field 'a' doesn't have a default value -Warning 1364 Field 'b' doesn't have a default value SELECT * FROM t1; a b 0 @@ -49,9 +46,8 @@ SELECT * FROM t1; a b 0 new_value UPDATE t1 set b = NULL where b = 'new_value'; -Warnings: -Warning 1048 Column 'b' cannot be null +ERROR 23000: Column 'b' cannot be null SELECT * FROM t1; a b -0 +0 new_value DROP TABLE t1; diff --git a/mysql-test/t/csv_not_null.test b/mysql-test/t/csv_not_null.test index ae9742ea72d..bb7b412aa49 100644 --- a/mysql-test/t/csv_not_null.test +++ b/mysql-test/t/csv_not_null.test @@ -77,12 +77,6 @@ DROP TABLE t1; ############################################################################## # Testcase csv_not_null.3: UPDATE tests -- examining behavior of UPDATE # statements for CSV -# NOTE: Should not allow UPDATE