summaryrefslogtreecommitdiff
path: root/tests/export.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/export.pl')
-rwxr-xr-xtests/export.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/export.pl b/tests/export.pl
index 47a13bab8e6..29f0d1af8ff 100755
--- a/tests/export.pl
+++ b/tests/export.pl
@@ -23,7 +23,7 @@ print "Connection to database $test_db\n";
$dbh = Mysql->Connect($host) || die "Can't connect: $Mysql::db_errstr\n";
$dbh->SelectDB($test_db) || die "Can't use database $test_db: $Mysql::db_errstr\n";
-$dbh->Query("drop table export"); # Ignore this error
+$dbh->Query("drop table if exists export"); # Ignore this error
print "Creating table\n";