Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.4
-
None
Description
Note: Quite possibly it's an expected change in behavior, but I would want to make sure.
CREATE TABLE t (f1 varchar(8), f2 varchar(8), KEY (f1) USING BTREE) ENGINE=MEMORY; |
INSERT INTO t VALUES ('foo','a'),('bar','b'); |
UPDATE t SET f1 = 'x' WHERE f1 <> 'x' AND f2 BETWEEN 0 AND 3; |
 |
# Cleanup
|
DROP TABLE t; |
10.3 95d783af |
UPDATE t SET f1 = 'x' WHERE f1 <> 'x' AND f2 BETWEEN 0 AND 3; |
Warnings:
|
Warning 1292 Truncated incorrect DOUBLE value: 'b' |
Warning 1292 Truncated incorrect DOUBLE value: 'a' |
The UPDATE above passes on 10.3 (with warnings), but fails on 10.4.
10.4 bff7cf9d |
mysqltest: At line 3: query 'UPDATE t SET f1 = 'x' WHERE f1 <> 'x' AND f2 BETWEEN 0 AND 3' failed: 1292: Truncated incorrect DOUBLE value: 'a' |
SQL_MODE is the same on both servers, STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION.