From 2bd3296eaa42479b1dd0aa5c12a442a86140b02c Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 14 Jul 2015 14:55:43 +0800 Subject: Bug 1180570 - store attachment size in the database --- scripts/sanitizeme.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/sanitizeme.pl b/scripts/sanitizeme.pl index af0c167bf..6d4119905 100755 --- a/scripts/sanitizeme.pl +++ b/scripts/sanitizeme.pl @@ -210,8 +210,9 @@ sub delete_sensitive_user_data { sub delete_attachment_data { # Delete unnecessary attachment data. - print "Removing attachment data to preserve disk space...\n"; + print "Removing attachment data...\n"; $dbh->do("UPDATE attach_data SET thedata = ''"); + $dbh->do("UPDATE attachments SET attach_size = 0"); } sub delete_bug_user_last_visit { -- cgit v1.2.3-24-g4f1b