[MDEV-4769] Audit: Non-query API commands produce empty QUERY events Created: 2013-07-07 Updated: 2013-08-27 Resolved: 2013-08-27 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Stepanova | Assignee: | Alexey Botchkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | server_audit | ||
| Issue Links: |
|
||||||||
| Description |
|
Non-query API function calls appear in the audit log as QUERY events with empty query text. I don't see how it can be helpful, but can easily flood the log; so we need to either make them meaningful, or to get rid of them. The example below produces 2 such records, with mysql_list_fields(con,(const char*) "user",NullS) and mysql_close(con). Test case:
Audit log:
bzr version-info
|
| Comments |
| Comment by Alexey Botchkov [ 2013-08-22 ] |
|
Got rid of Non-query events in the log. (By now?) |