aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortimeless%mozdev.org <>2003-09-02 08:36:28 +0000
committertimeless%mozdev.org <>2003-09-02 08:36:28 +0000
commit5265829317edd5f340b43d5c2ce6575123a633c0 (patch)
tree6ffc93fea96201fb4d174deba20acf6e17f6f214 /votes.cgi
parentFix for bug 207754 aka bugreplies: It should be possible to produce a (diff)
downloadbugzilla-5265829317edd5f340b43d5c2ce6575123a633c0.tar.gz
bugzilla-5265829317edd5f340b43d5c2ce6575123a633c0.tar.bz2
bugzilla-5265829317edd5f340b43d5c2ce6575123a633c0.zip
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
Diffstat (limited to 'votes.cgi')
-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");