diff options
author | Chad MILLER <chad@mysql.com> | 2008-07-15 12:51:05 -0400 |
---|---|---|
committer | Chad MILLER <chad@mysql.com> | 2008-07-15 12:51:05 -0400 |
commit | a8cbbef15c089027cecd7f80b54b8992b49d7a36 (patch) | |
tree | cf52f172dbf7bd0d43d8ea33e03d8e1c752d40af /sql | |
parent | a4e7283a9254c09057c92ec20fc145c52bea1d51 (diff) | |
download | mariadb-git-a8cbbef15c089027cecd7f80b54b8992b49d7a36.tar.gz |
Fixed packet-test bug caused by if block that didn't have curly braces.
Diffstat (limited to 'sql')
-rw-r--r-- | sql/sql_parse.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index ccd131e5f90..ab2099d932c 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -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; |