fixed incorrect using of THD::is_fatal_error

This commit is contained in:
unknown 2004-11-14 10:25:38 +02:00
parent ae39bbf7cc
commit 20cfd8fd4e

View File

@ -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]) ||