diff options
Diffstat (limited to 'sql/protocol.cc')
| -rw-r--r-- | sql/protocol.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/protocol.cc b/sql/protocol.cc index 1b9256c7723..c2b1557ab39 100644 --- a/sql/protocol.cc +++ b/sql/protocol.cc @@ -92,6 +92,7 @@ void send_error(THD *thd, uint sql_errno, const char *err) /* In bootstrap it's ok to print on stderr */ fprintf(stderr,"ERROR: %d %s\n",sql_errno,err); } + thd->init_connect_error= 1; DBUG_VOID_RETURN; } @@ -210,6 +211,7 @@ net_printf(THD *thd, uint errcode, ...) fprintf(stderr,"ERROR: %d %s\n",errcode,text_pos); thd->fatal_error(); } + thd->init_connect_error= 1; DBUG_VOID_RETURN; } |
