diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2021-08-11 23:00:37 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2021-08-11 23:00:37 +0400 |
commit | 38b79d7295e7a9ed2e4fdd72e6a63505a32c806f (patch) | |
tree | 5469e83c89f728054a784643a3c33e463422c03c /sql/sql_audit.h | |
parent | 582cf12f949d462073b01aea4dc61628880d6d60 (diff) | |
download | mariadb-git-bb-10.4-hf.tar.gz |
MENT-1019.bb-10.4-hf
Audit-plugin related fixes.
Diffstat (limited to 'sql/sql_audit.h')
-rw-r--r-- | sql/sql_audit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_audit.h b/sql/sql_audit.h index 97317203e34..d76750e9b2a 100644 --- a/sql/sql_audit.h +++ b/sql/sql_audit.h @@ -155,7 +155,7 @@ void mysql_audit_general(THD *thd, uint event_subtype, DBUG_ENTER("mysql_audit_general"); if (mysql_audit_general_enabled()) { - char user_buff[MAX_USER_HOST_SIZE]; + char user_buff[MAX_USER_HOST_SIZE+1]; mysql_event_general event; event.event_subclass= event_subtype; |