From 9fffa9374cd2479d91d4989387c28eede5dff2d9 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Fri, 20 Apr 2018 20:58:46 +0200 Subject: [PATCH] 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 --- client/mysqltest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;