mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
Backport from 6.0-codebase.
Bug #36098 Audit plugin (wl 3771) feature disabled in 6.0 avoid recusrive locking of LOCK_plugin
This commit is contained in:
@@ -1485,13 +1485,7 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
|
||||
close_thread_tables(thd);
|
||||
|
||||
if (!thd->is_error() && !thd->killed_errno())
|
||||
{
|
||||
mysql_audit_general(thd,MYSQL_AUDIT_GENERAL_RESULT,0,my_time(0),
|
||||
0,0,0,0,
|
||||
thd->query(), thd->query_length(),
|
||||
thd->variables.character_set_client,
|
||||
thd->warning_info->current_row_for_warning());
|
||||
}
|
||||
mysql_audit_general(thd, MYSQL_AUDIT_GENERAL_RESULT, 0, 0);
|
||||
|
||||
log_slow_statement(thd);
|
||||
|
||||
|
Reference in New Issue
Block a user