summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortimeless%mozdev.org <>2003-09-02 10:36:28 +0200
committertimeless%mozdev.org <>2003-09-02 10:36:28 +0200
commit5265829317edd5f340b43d5c2ce6575123a633c0 (patch)
tree6ffc93fea96201fb4d174deba20acf6e17f6f214
parent481ce783a381eabe3c40294f0c2d37cde0e7dcbb (diff)
downloadbugzilla-5265829317edd5f340b43d5c2ce6575123a633c0.tar.gz
bugzilla-5265829317edd5f340b43d5c2ce6575123a633c0.tar.xz
Bug 217242 CheckIfVotedConfirmed tripped Table 'fielddefs' was not locked with LOCK TABLES [for statement ``SELECT fieldid FROM fielddefs WHERE name = 'bug_status''']
r=justdave a=justdave
-rwxr-xr-xvotes.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/votes.cgi b/votes.cgi
index dfa55b91d..0d9cf47b6 100755
--- a/votes.cgi
+++ b/votes.cgi
@@ -318,7 +318,7 @@ sub record_votes {
# need to clear the user's votes from the database.
my %affected;
SendSQL("LOCK TABLES bugs write, votes write, products read, cc read,
- user_group_map read, bug_group_map read");
+ fielddefs read, user_group_map read, bug_group_map read");
# Take note of, and delete the user's old votes from the database.
SendSQL("SELECT bug_id FROM votes WHERE who = $who");