[MDEV-4319] mysqlbinlog output ambiguous escaping Created: 2013-03-23 Updated: 2013-03-25 Resolved: 2013-03-25 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.1, 5.5.30 |
| Fix Version/s: | 10.0.2, 5.5.31 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Ian Good | Assignee: | Michael Widenius |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | upstream | ||
| Environment: |
N/A |
||
| Description |
|
With row-level binlogs enabled, the following command can produce ambiguously escaped output:
To reproduce the issue, I can run the following SQL command (table schema not relevant):
This results in the mysqlbinlog output:
As you can see, it is impossible to differentiate the output of a new-line character (0x0A) from the un-escaped string "\x0a". |
| Comments |
| Comment by Elena Stepanova [ 2013-03-24 ] |
|
The effect is reproducible on MySQL as well (at least 5.6, but I suppose on previous versions too). |
| Comment by Michael Widenius [ 2013-03-25 ] |
|
Pushed into 5.5 tree |