summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authorChad MILLER <chad@mysql.com>2008-07-15 12:51:05 -0400
committerChad MILLER <chad@mysql.com>2008-07-15 12:51:05 -0400
commita8cbbef15c089027cecd7f80b54b8992b49d7a36 (patch)
treecf52f172dbf7bd0d43d8ea33e03d8e1c752d40af /sql/sql_parse.cc
parenta4e7283a9254c09057c92ec20fc145c52bea1d51 (diff)
downloadmariadb-git-a8cbbef15c089027cecd7f80b54b8992b49d7a36.tar.gz
Fixed packet-test bug caused by if block that didn't have curly braces.
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc2
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;