1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-16365 Setting a column NOT NULL fails to return error for

NULL values when there is no DEFAULT

- Fixed the test failure, assigned number of rows read to new table.
This commit is contained in:
Thirunarayanan Balathandayuthapani
2018-06-26 14:10:58 +05:30
parent f5b60857f4
commit fe76e68e0e
5 changed files with 20 additions and 11 deletions

View File

@@ -428,7 +428,7 @@ INSERT INTO t1 VALUES(33101,347,NULL,'');
SET DEBUG_SYNC = 'now SIGNAL ins_done0';
# session con1
connection con1;
ERROR 01000: Data truncated for column 'c3' at row 1
ERROR 01000: Data truncated for column 'c3' at row 323
SET @@sql_mode = @old_sql_mode;
# session default
connection default;