summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-04-20 20:58:46 +0200
committerSergei Golubchik <serg@mariadb.org>2018-04-20 20:58:46 +0200
commit9fffa9374cd2479d91d4989387c28eede5dff2d9 (patch)
tree2904f7b713fec3c9a37cad2a01ede2afcab88338
parent587568b72a0f4bcb284b292f158dea6f65c03487 (diff)
downloadmariadb-git-9fffa9374cd2479d91d4989387c28eede5dff2d9.tar.gz
mysqltest: use do_stmt_close() not mysql_stmt_close()
do_stmt_close() is embedded-aware. this fixes the failure of innodb.innodb_bug48024 --ps --embed
-rw-r--r--client/mysqltest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqltest.cc b/client/mysqltest.cc
index f1c50432e4d..0f010cd1b57 100644
--- a/client/mysqltest.cc
+++ b/client/mysqltest.cc
@@ -1418,7 +1418,7 @@ void close_statements()
for (con= connections; con < next_con; con++)
{
if (con->stmt)
- mysql_stmt_close(con->stmt);
+ do_stmt_close(con);
con->stmt= 0;
}
DBUG_VOID_RETURN;