|
Also, while the test case from the description is not applicable to previous versions (because of the ORDER BY in UPDATE), this one with views instead of a direct multi-update is, and it appears to show a regression:
--source include/have_partition.inc
|
|
CREATE TABLE t1 (i INT);
|
INSERT IGNORE INTO t1 VALUES (1),(2);
|
|
CREATE TABLE t2 (f INT)
|
PARTITION BY RANGE(f) (
|
PARTITION p1 VALUES LESS THAN (128),
|
PARTITION p2 VALUES LESS THAN MAXVALUE
|
);
|
|
CREATE VIEW v AS SELECT f FROM t1, t2;
|
REPLACE INTO t2 VALUES (1),(2);
|
|
UPDATE v SET f = 126 ORDER BY f LIMIT 2;
|
|
# Cleanup
|
DROP VIEW v;
|
DROP TABLE t1, t2;
|
It passes on 10.2, but causes the same ER_KEY_NOT_FOUND on 10.3.
|