Commit 9e7762e
committed
MDEV-35233: RBR does not work with CSV tables
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 <[email protected]>
Signed-off-by: Kristian Nielsen <[email protected]>1 parent b66d421 commit 9e7762e
File tree
3 files changed
+72
-10
lines changed- mysql-test/suite/rpl
- r
- t
- sql
3 files changed
+72
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6641 | 6641 | | |
6642 | 6642 | | |
6643 | 6643 | | |
| 6644 | + | |
| 6645 | + | |
| 6646 | + | |
| 6647 | + | |
| 6648 | + | |
| 6649 | + | |
| 6650 | + | |
| 6651 | + | |
| 6652 | + | |
| 6653 | + | |
| 6654 | + | |
| 6655 | + | |
| 6656 | + | |
| 6657 | + | |
| 6658 | + | |
| 6659 | + | |
| 6660 | + | |
| 6661 | + | |
| 6662 | + | |
| 6663 | + | |
| 6664 | + | |
| 6665 | + | |
| 6666 | + | |
| 6667 | + | |
| 6668 | + | |
| 6669 | + | |
| 6670 | + | |
| 6671 | + | |
| 6672 | + | |
| 6673 | + | |
| 6674 | + | |
| 6675 | + | |
| 6676 | + | |
| 6677 | + | |
| 6678 | + | |
| 6679 | + | |
| 6680 | + | |
| 6681 | + | |
| 6682 | + | |
| 6683 | + | |
6644 | 6684 | | |
6645 | 6685 | | |
6646 | 6686 | | |
| |||
7100 | 7140 | | |
7101 | 7141 | | |
7102 | 7142 | | |
| 7143 | + | |
7103 | 7144 | | |
7104 | 7145 | | |
7105 | 7146 | | |
| |||
7547 | 7588 | | |
7548 | 7589 | | |
7549 | 7590 | | |
| 7591 | + | |
| 7592 | + | |
7550 | 7593 | | |
7551 | 7594 | | |
7552 | 7595 | | |
| |||
7583 | 7626 | | |
7584 | 7627 | | |
7585 | 7628 | | |
7586 | | - | |
7587 | | - | |
7588 | | - | |
7589 | | - | |
7590 | | - | |
7591 | | - | |
7592 | | - | |
7593 | | - | |
7594 | | - | |
7595 | | - | |
7596 | 7629 | | |
7597 | 7630 | | |
7598 | 7631 | | |
| |||
0 commit comments