Skip to content

Commit 9fffa93

Browse files
committed
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
1 parent 587568b commit 9fffa93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/mysqltest.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1418,7 +1418,7 @@ void close_statements()
14181418
for (con= connections; con < next_con; con++)
14191419
{
14201420
if (con->stmt)
1421-
mysql_stmt_close(con->stmt);
1421+
do_stmt_close(con);
14221422
con->stmt= 0;
14231423
}
14241424
DBUG_VOID_RETURN;

0 commit comments

Comments
 (0)