[MDEV-5419] no audit events for warnings converted to errors in the strict mode Created: 2013-12-09 Updated: 2014-01-29 Resolved: 2014-01-23 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.34 |
| Fix Version/s: | 5.5.35 |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Golubchik | Assignee: | Alexey Botchkov |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | audit | ||
| Issue Links: |
|
||||||||
| Description |
|
When an warnings is converted into an error because of the strict sql_mode, this conversion happens inside THD::raise_condition. And my_message_sql is not called, so no audit events are generated for this error. Possible fixes:
|
| Comments |
| Comment by Alexey Botchkov [ 2013-12-15 ] |
|
Proposed fix: Also fixes the mentioned |
| Comment by Daniel Bartholomew [ 2014-01-29 ] |
|
http://bazaar.launchpad.net/~maria-captains/maria/5.5/revision/4028 |
| Comment by Daniel Bartholomew [ 2014-01-29 ] |
|
http://bazaar.launchpad.net/~maria-captains/maria/5.5/revision/4027 |