fixed incorrect using of THD::is_fatal_error
This commit is contained in:
parent
ae39bbf7cc
commit
20cfd8fd4e
@ -1106,7 +1106,7 @@ extern "C" pthread_handler_decl(handle_bootstrap,arg)
|
|||||||
if (buff[length-1]!='\n' && !feof(file))
|
if (buff[length-1]!='\n' && !feof(file))
|
||||||
{
|
{
|
||||||
send_error(thd,ER_NET_PACKET_TOO_LARGE, NullS);
|
send_error(thd,ER_NET_PACKET_TOO_LARGE, NullS);
|
||||||
thd->is_fatal_error= 1;
|
thd->fatal_error();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
while (length && (my_isspace(thd->charset(), buff[length-1]) ||
|
while (length && (my_isspace(thd->charset(), buff[length-1]) ||
|
||||||
|
Loading…
x
Reference in New Issue
Block a user