1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

MDEV-10248 Cannot Remove Test Tables

While dropping the test database, use IF EXISTS to avoid bogus errors
This commit is contained in:
Elena Stepanova
2016-07-15 23:51:30 +03:00
parent 4e19aa3864
commit 5cf49cdf92
2 changed files with 2 additions and 2 deletions

View File

@@ -324,7 +324,7 @@ remove_remote_root() {
remove_test_database() {
echo " - Dropping test database..."
do_query "DROP DATABASE test;"
do_query "DROP DATABASE IF EXISTS test;"
if [ $? -eq 0 ]; then
echo " ... Success!"
else