summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-04-08 06:23:39 +0200
committerByron Jones <glob@mozilla.com>2014-04-08 06:23:39 +0200
commitdb77cd059ce3b3e94d54fc16a22e68f00cdba809 (patch)
tree5915371034e485068c416968cef0c99a2a2bc0b9 /checksetup.pl
parent92c46e3d89e4532c02bad1ba8308637a57cae645 (diff)
downloadbugzilla-db77cd059ce3b3e94d54fc16a22e68f00cdba809.tar.gz
bugzilla-db77cd059ce3b3e94d54fc16a22e68f00cdba809.tar.xz
clear memcached at the start of checksetup.pl
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-xchecksetup.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/checksetup.pl b/checksetup.pl
index 4f37ea350..501138c6d 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -144,6 +144,8 @@ Bugzilla::DB::bz_create_database() if $lc_hash->{'db_check'};
# now get a handle to the database:
my $dbh = Bugzilla->dbh;
+# Clear all keys from Memcached to ensure we see the correct schema.
+Bugzilla->memcached->clear_all();
# Create the tables, and do any database-specific schema changes.
$dbh->bz_setup_database();
# Populate the tables that hold the values for the <select> fields.