From 02e46829b2ddd0f6109c7d81cf40c1865b01a122 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Tue, 26 Jun 2018 16:49:42 -0400 Subject: Bug 1457550 - Update scripts/remove-non-public-data.pl suitability for current BMO infrastructure. --- scripts/remove-non-public-data.pl | 2 +- scripts/sanitizeme.pl | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/remove-non-public-data.pl b/scripts/remove-non-public-data.pl index 61c761c27..ce7948dd0 100755 --- a/scripts/remove-non-public-data.pl +++ b/scripts/remove-non-public-data.pl @@ -174,7 +174,7 @@ foreach my $table (@tables) { else { print "dropping $table\n"; drop_referencing($table); - $dbh->do("DROP TABLE $table"); + $dbh->do("DROP TABLE IF EXISTS $table"); } } diff --git a/scripts/sanitizeme.pl b/scripts/sanitizeme.pl index 48a618d12..31418d047 100755 --- a/scripts/sanitizeme.pl +++ b/scripts/sanitizeme.pl @@ -26,7 +26,6 @@ use strict; use warnings; use lib qw(. lib local/lib/perl5); - use Bugzilla; use Bugzilla::Bug; use Bugzilla::Constants; -- cgit v1.2.3-24-g4f1b