summaryrefslogtreecommitdiffstats
path: root/contrib/reorg-tools/convert_date_time_date.pl
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/reorg-tools/convert_date_time_date.pl')
-rwxr-xr-xcontrib/reorg-tools/convert_date_time_date.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/reorg-tools/convert_date_time_date.pl b/contrib/reorg-tools/convert_date_time_date.pl
index aa3b58ca1..a2e9bfffc 100755
--- a/contrib/reorg-tools/convert_date_time_date.pl
+++ b/contrib/reorg-tools/convert_date_time_date.pl
@@ -55,4 +55,8 @@ Bugzilla->dbh->bz_alter_column('bugs', $column, { TYPE => 'DATE' });
Bugzilla->dbh->do("UPDATE fielddefs SET type = ? WHERE name = ?",
undef, FIELD_TYPE_DATE, $column);
+# 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();
+
print "\ndone.\n";