summaryrefslogtreecommitdiffstats
path: root/contrib/reorg-tools/fixgroupqueries.pl
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2014-03-04 08:50:54 +0100
committerByron Jones <bjones@mozilla.com>2014-03-04 08:50:54 +0100
commit9193214274889f2b7636146e72d8200e9bfaeb7b (patch)
treee570cc86aa8df53dd0e7e9d902d88450c5dc25c7 /contrib/reorg-tools/fixgroupqueries.pl
parent75eaf0d6c8ecf764d73cb870e504e84826d44751 (diff)
downloadbugzilla-9193214274889f2b7636146e72d8200e9bfaeb7b.tar.gz
bugzilla-9193214274889f2b7636146e72d8200e9bfaeb7b.tar.xz
Bug 966180: backport bug 956233 to bmo (enable USE_MEMCACHE on most objects)
Diffstat (limited to 'contrib/reorg-tools/fixgroupqueries.pl')
-rwxr-xr-xcontrib/reorg-tools/fixgroupqueries.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/reorg-tools/fixgroupqueries.pl b/contrib/reorg-tools/fixgroupqueries.pl
index 1c75edb97..0bd64cd40 100755
--- a/contrib/reorg-tools/fixgroupqueries.pl
+++ b/contrib/reorg-tools/fixgroupqueries.pl
@@ -116,4 +116,8 @@ print "Changing all instances of '$old' to '$new'.\n\n";
#do_namedqueries($old, $new);
do_series($old, $new);
+# It's complex to determine which items now need to be flushed from memcached.
+# As this is expected to be a rare event, we just flush the entire cache.
+Bugzilla->memcached->clear_all();
+
exit(0);