diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index 9d755731cb7..7420f9de100 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -1106,7 +1106,7 @@ extern "C" pthread_handler_decl(handle_bootstrap,arg) if (buff[length-1]!='\n' && !feof(file)) { send_error(thd,ER_NET_PACKET_TOO_LARGE, NullS); - thd->is_fatal_error= 1; + thd->fatal_error(); break; } while (length && (my_isspace(thd->charset(), buff[length-1]) ||