mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-19275 Provide SQL service to plugins.
Protocol_local fixed so it can be used now. Some Protocol:: methods made virtual so they can adapt. as well as net_ok and net_send_error functions. execute_sql_string function is exported to the plugins. To be changed with the mysql_use_result.
This commit is contained in:
@ -1748,7 +1748,7 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
|
||||
else
|
||||
auth_rc= acl_authenticate(thd, packet_length);
|
||||
|
||||
mysql_audit_notify_connection_change_user(thd);
|
||||
mysql_audit_notify_connection_change_user(thd, &save_security_ctx);
|
||||
if (auth_rc)
|
||||
{
|
||||
/* Free user if allocated by acl_authenticate */
|
||||
|
Reference in New Issue
Block a user