[MDEV-10288] Replication aborts when master uses swe7 Created: 2016-06-25 Updated: 2020-12-01 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Character Sets, Replication |
| Affects Version/s: | 10.1, 10.2 |
| Fix Version/s: | 10.2 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Stepanova | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The problem started happening in 10.1 tree after this commit:
I don't know if the change was intentional – it wasn't working quite well even before, even although replication did not abort, master and slave ended up with a different table definition; but still, replication failure is a regression, so it's worth checking what's happening. |
| Comments |
| Comment by Alexander Barkov [ 2016-06-27 ] | ||||||||||||||||||||||||||||
|
The tricky thing with swe7 is that it does not have characters:
The codes 0x40 and 0x60 are occupied by letters É and é. | ||||||||||||||||||||||||||||
| Comment by Alexander Barkov [ 2016-06-27 ] | ||||||||||||||||||||||||||||
|
The problem is not specific to swe7. Replication is failing with other character sets as well. If I put this file to mysql-test/t/TEST.test
and record it with statement based replication:
and then run it with row based binary log:
it fails with this diff:
Notice, row based replication creates a wrong column name. |