diff options
author | bbaetz%acm.org <> | 2003-04-27 16:20:36 +0200 |
---|---|---|
committer | bbaetz%acm.org <> | 2003-04-27 16:20:36 +0200 |
commit | 8449ddc1397a699e8473ee657b18e1ed6928f4bb (patch) | |
tree | 5a37c734d6bc56f529d0dd81537de76a0c0fd87e /sanitycheck.cgi | |
parent | f016a7980404372d9855215a5107968beb3c82f4 (diff) | |
download | bugzilla-8449ddc1397a699e8473ee657b18e1ed6928f4bb.tar.gz bugzilla-8449ddc1397a699e8473ee657b18e1ed6928f4bb.tar.xz |
Bug 180086 - Rename 'count' column in votes tables
patch by bugzilla@chimpychompy.org (GavinS)
r=bbaetz,justdave
a=justdave
Diffstat (limited to 'sanitycheck.cgi')
-rwxr-xr-x | sanitycheck.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sanitycheck.cgi b/sanitycheck.cgi index 16a123967..98734e5b0 100755 --- a/sanitycheck.cgi +++ b/sanitycheck.cgi @@ -82,7 +82,7 @@ if (exists $::FORM{'rebuildvotecache'}) { Status("OK, now rebuilding vote cache."); SendSQL("lock tables bugs write, votes read"); SendSQL("update bugs set votes = 0, delta_ts=delta_ts"); - SendSQL("select bug_id, sum(count) from votes group by bug_id"); + SendSQL("select bug_id, sum(vote_count) from votes group by bug_id"); my %votes; while (@row = FetchSQLData()) { my ($id, $v) = (@row); @@ -433,7 +433,7 @@ while (@row = FetchSQLData()) { } Status("Checking cached vote counts"); -SendSQL("select bug_id, sum(count) from votes group by bug_id"); +SendSQL("select bug_id, sum(vote_count) from votes group by bug_id"); while (@row = FetchSQLData()) { my ($id, $v) = (@row); |