Commit 745b8494 authored by Dmitry Lenev's avatar Dmitry Lenev

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.
parent bd0991b1
...@@ -128,4 +128,5 @@ CALL p1(); ...@@ -128,4 +128,5 @@ CALL p1();
Warnings: Warnings:
Note 1050 Table 't2' already exists Note 1050 Table 't2' already exists
DROP DATABASE testdb; DROP DATABASE testdb;
USE test;
End of 5.1 tests End of 5.1 tests
...@@ -161,5 +161,6 @@ CALL p1(); ...@@ -161,5 +161,6 @@ CALL p1();
--echo # below stmt should not return valgrind warnings --echo # below stmt should not return valgrind warnings
CALL p1(); CALL p1();
DROP DATABASE testdb; DROP DATABASE testdb;
USE test;
--echo End of 5.1 tests --echo End of 5.1 tests
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment