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:
@@ -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");
|
||||
|
||||
|
Reference in New Issue
Block a user