summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index 0c4983e540d..922f0d73165 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -1224,7 +1224,7 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
auth_rc= 1;
}
else
- auth_rc= acl_authenticate(thd, 0, packet_length);
+ auth_rc= acl_authenticate(thd, packet_length);
mysql_audit_notify_connection_change_user(thd);
if (auth_rc)
@@ -5134,7 +5134,6 @@ finish:
}
/* Free tables */
- THD_STAGE_INFO(thd, stage_closing_tables);
close_thread_tables(thd);
#ifndef DBUG_OFF