1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-07 02:42:49 +03:00

test_bug38486(): Do not leave behind a garbage table

This fixes "Check of testcase failed for: unit.conc_cursor"
in the MariaDB Server test suite.
This commit is contained in:
Marko Mäkelä
2021-08-25 09:37:42 +03:00
parent 9990ab7d49
commit 42cb1e442c

View File

@@ -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;