Updating the vote cache should not update the date-last-changed field

in the bug.


git-svn-id: svn://10.0.0.236/trunk@50454 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
terry%mozilla.org
1999-10-12 11:18:29 +00:00
parent 4e84b82b51
commit 611923e583
3 changed files with 5 additions and 5 deletions

View File

@@ -103,7 +103,7 @@ foreach my $id (@buglist) {
foreach my $id (keys %affected) {
SendSQL("select sum(count) from votes where bug_id = $id");
my $v = FetchOneColumn();
SendSQL("update bugs set votes = $v where bug_id = $id");
SendSQL("update bugs set votes = $v, delta_ts=delta_ts where bug_id = $id");
}
SendSQL("unlock tables");