1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Added --warnings to mysqld

This commit is contained in:
monty@hundin.mysql.fi
2001-06-21 01:12:29 +03:00
parent 2d8d0362f5
commit 34b528f13f
4 changed files with 40 additions and 12 deletions

View File

@ -554,6 +554,7 @@ pthread_handler_decl(handle_one_connection,arg)
free_root(&thd->mem_root,MYF(0));
if (net->error && net->vio != 0)
{
if (!thd->killed && ! opt_warnings)
sql_print_error(ER(ER_NEW_ABORTING_CONNECTION),
thd->thread_id,(thd->db ? thd->db : "unconnected"),
thd->user ? thd->user : "unauthenticated",