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

MDEV-7635: Update tests to adapt to the new default sql_mode

This commit is contained in:
Nirbhay Choubey
2017-02-08 15:28:00 -05:00
parent f556aa9b5f
commit 8b2e642aa2
600 changed files with 7101 additions and 6154 deletions

View File

@@ -75,7 +75,7 @@ while ($type)
SET AUTOCOMMIT = 0;
}
--error ER_LOCK_WAIT_TIMEOUT
eval UPDATE t SET f = 'magenta $type' WHERE f = 'red';
eval UPDATE IGNORE t SET f = 'magenta $type' WHERE f = 'red';
eval INSERT INTO t VALUES (5 + ($type * 10),"brown");
INSERT INTO n VALUES (now(),"brown");
@@ -110,7 +110,7 @@ while ($type)
SET AUTOCOMMIT = 0;
}
--error ER_LOCK_WAIT_TIMEOUT
eval UPDATE t SET f = 'dark blue $type' WHERE f = 'red';
eval UPDATE IGNORE t SET f = 'dark blue $type' WHERE f = 'red';
eval INSERT INTO t VALUES (6 + ($type * 10),"brown");
INSERT INTO n VALUES (now(),"brown");