diff options
author | Byron Jones <glob@mozilla.com> | 2014-04-08 06:23:39 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2014-04-08 06:23:39 +0200 |
commit | db77cd059ce3b3e94d54fc16a22e68f00cdba809 (patch) | |
tree | 5915371034e485068c416968cef0c99a2a2bc0b9 | |
parent | 92c46e3d89e4532c02bad1ba8308637a57cae645 (diff) | |
download | bugzilla-db77cd059ce3b3e94d54fc16a22e68f00cdba809.tar.gz bugzilla-db77cd059ce3b3e94d54fc16a22e68f00cdba809.tar.xz |
clear memcached at the start of checksetup.pl
-rwxr-xr-x | checksetup.pl | 2 |
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. |