mirror of
https://github.com/MariaDB/server.git
synced 2025-04-21 22:55:35 +02:00

Handle null bits for record comparison in row events the same way as in handler::calculate_checksum(), forcing bits that can be undefined to 1. These bits are the trailing unused bits, as well as the first bit for tables not using HA_OPTION_PACK_RECORD. The csv storage engine leaves these bits at 0, while the row-based replication has them set to 1, which otherwise cause can't find record error. Reviewed-by: Monty <monty@mariadb.org> Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
13 lines
297 B
Text
13 lines
297 B
Text
include/master-slave.inc
|
|
[connection master]
|
|
*** MDEV-35233: RBR does not work with CSV tables
|
|
CREATE TABLE t (a INT NOT NULL) ENGINE=CSV;
|
|
INSERT INTO t VALUES (1),(2);
|
|
DELETE FROM t where a=1;
|
|
connection slave;
|
|
SELECT * FROM t ORDER BY a;
|
|
a
|
|
2
|
|
connection master;
|
|
DROP TABLE t;
|
|
include/rpl_end.inc
|