1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

small cleanup

This commit is contained in:
Sergei Golubchik
2011-11-28 23:15:12 +01:00
parent b27d93f347
commit ec38c1bbd7
6 changed files with 19 additions and 47 deletions

View File

@ -3751,14 +3751,7 @@ end_with_restore_list:
if (tx_release)
{
thd->killed= KILL_CONNECTION;
if (global_system_variables.log_warnings > 3)
{
Security_context *sctx= &thd->main_security_ctx;
sql_print_warning(ER(ER_NEW_ABORTING_CONNECTION),
thd->thread_id,(thd->db ? thd->db : "unconnected"),
sctx->user ? sctx->user : "unauthenticated",
sctx->host_or_ip, "RELEASE");
}
thd->print_aborted_warning(3, "RELEASE");
}
my_ok(thd);
break;