From db77cd059ce3b3e94d54fc16a22e68f00cdba809 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 8 Apr 2014 12:23:39 +0800 Subject: clear memcached at the start of checksetup.pl --- checksetup.pl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'checksetup.pl') 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