summaryrefslogtreecommitdiff
path: root/sql-common/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'sql-common/client.c')
-rw-r--r--sql-common/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql-common/client.c b/sql-common/client.c
index 36b2c6122dd..a4ec7db6515 100644
--- a/sql-common/client.c
+++ b/sql-common/client.c
@@ -2197,7 +2197,7 @@ void STDCALL mysql_close(MYSQL *mysql)
for (element= mysql->stmts; element; element= next_element)
{
next_element= element->next;
- stmt_close((MYSQL_STMT *)element->data, 0);
+ stmt_close((MYSQL_STMT *)element->data, 0, 1);
}
mysql->stmts= 0;
}