Skip to content

Commit

Permalink
test_bug38486(): Do not leave behind a garbage table
Browse files Browse the repository at this point in the history
This fixes "Check of testcase failed for: unit.conc_cursor"
in the MariaDB Server test suite.
  • Loading branch information
dr-m committed Aug 25, 2021
1 parent 9990ab7 commit 42cb1e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions unittest/libmariadb/cursor.c
Original file line number Diff line number Diff line change
Expand Up @@ -1502,6 +1502,8 @@ static int test_bug38486(MYSQL *mysql)
check_stmt_rc(rc, stmt);
rc= mysql_stmt_execute(stmt);
check_stmt_rc(rc, stmt);
rc= mysql_query(mysql, "DROP TABLE IF EXISTS t10");
check_mysql_rc(rc, mysql);
mysql_stmt_close(stmt);

return OK;
Expand Down

0 comments on commit 42cb1e4

Please sign in to comment.