summaryrefslogtreecommitdiff
path: root/sql/sql_prepare.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_prepare.cc')
-rw-r--r--sql/sql_prepare.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_prepare.cc b/sql/sql_prepare.cc
index 2fa08e2d649..85b82d3b488 100644
--- a/sql/sql_prepare.cc
+++ b/sql/sql_prepare.cc
@@ -1059,7 +1059,7 @@ void mysql_stmt_free(THD *thd, char *packet)
PREP_STMT *stmt;
DBUG_ENTER("mysql_stmt_free");
- if (!(stmt=find_prepared_statement(thd, stmt_id, "close")))
+ if (!find_prepared_statement(thd, stmt_id, "close"))
{
send_error(thd); // Not seen by the client
DBUG_VOID_RETURN;