Commit 20cfd8fd authored by unknown's avatar unknown

fixed incorrect using of THD::is_fatal_error

parent ae39bbf7
...@@ -1106,7 +1106,7 @@ extern "C" pthread_handler_decl(handle_bootstrap,arg) ...@@ -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]) ||
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment