diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2020-08-14 21:04:25 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2020-08-14 21:04:25 +0400 |
commit | b01c426146710f1c24ab75e2ffcd953feac08882 (patch) | |
tree | ae4d31f7391458b8b66fbef5472b337a5ab4636e /sql/sql_parse.cc | |
parent | 68cba09173a49185c02d5b57a5a241f102257fea (diff) | |
download | mariadb-git-b01c426146710f1c24ab75e2ffcd953feac08882.tar.gz |
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.
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r-- | sql/sql_parse.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index 51109f128d0..c2b6fb02325 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -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 */ |