Fixed test case for bug #13105873 "valgrind warning:possible

crash in foreign key handling on subsequent create table if
not exists".

Do not leave current database unassigned after the end of
the test case.
This commit is contained in:
Dmitry Lenev 2012-03-11 16:05:42 +04:00
parent bd0991b105
commit 745b849455
2 changed files with 2 additions and 0 deletions

View File

@ -128,4 +128,5 @@ CALL p1();
Warnings:
Note 1050 Table 't2' already exists
DROP DATABASE testdb;
USE test;
End of 5.1 tests

View File

@ -161,5 +161,6 @@ CALL p1();
--echo # below stmt should not return valgrind warnings
CALL p1();
DROP DATABASE testdb;
USE test;
--echo End of 5.1 tests