Skip to content

Commit

Permalink
mysqltest: use do_stmt_close() not mysql_stmt_close()
Browse files Browse the repository at this point in the history
do_stmt_close() is embedded-aware.

this fixes the failure of innodb.innodb_bug48024 --ps --embed
  • Loading branch information
vuvova committed Apr 20, 2018
1 parent 587568b commit 9fffa93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/mysqltest.cc
Expand Up @@ -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;
Expand Down

0 comments on commit 9fffa93

Please sign in to comment.