1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

prefer static inline functions to macros.

avoid unnecessary strlen()'s
This commit is contained in:
Sergei Golubchik
2013-04-09 23:27:37 +02:00
parent 775e82638b
commit 68f6c229c5
4 changed files with 60 additions and 37 deletions

View File

@ -1011,7 +1011,7 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
else
rc= acl_authenticate(thd, 0, packet_length);
MYSQL_AUDIT_NOTIFY_CONNECTION_CHANGE_USER(thd);
mysql_audit_notify_connection_change_user(thd);
if (rc)
{
/* Free user if allocated by acl_authenticate */