[MDEV-13921] Audit log writes invalid SQL if single-line comments are present Created: 2017-09-27 Updated: 2017-11-03 Resolved: 2017-11-03 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Plugin - Audit |
| Affects Version/s: | 5.5, 10.0, 10.1, 10.1.25, 10.2.8, 10.2 |
| Fix Version/s: | 10.1.19 |
| Type: | Bug | Priority: | Major |
| Reporter: | Karoline | Assignee: | Alexey Botchkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | 10.1.29 |
| Description |
|
Since the query lines get joined, single-line comments cause the rest of the line to be ignored. Reproduction:
Resulting log:
Cause: Solution B seems better. |
| Comments |
| Comment by Alexey Botchkov [ 2017-11-03 ] |
|
http://lists.askmonty.org/pipermail/commits/2017-November/011605.html |
| Comment by Alexey Botchkov [ 2017-11-03 ] |
|
http://lists.askmonty.org/pipermail/commits/2017-November/011606.html |