Fixed packet-test bug caused by if block that didn't have curly braces.

This commit is contained in:
Chad MILLER 2008-07-15 12:51:05 -04:00
parent a4e7283a92
commit a8cbbef15c

View File

@ -1559,8 +1559,10 @@ static bool do_command(THD *thd)
/* Check if we can continue without closing the connection */
if (net->error != 3)
{
return_value= TRUE; // We have to close it.
goto out;
}
net_send_error(thd, net->last_errno, NullS);
net->error= 0;