diff options
author | timeless%mozdev.org <> | 2003-09-02 08:36:28 +0000 |
---|---|---|
committer | timeless%mozdev.org <> | 2003-09-02 08:36:28 +0000 |
commit | 5265829317edd5f340b43d5c2ce6575123a633c0 (patch) | |
tree | 6ffc93fea96201fb4d174deba20acf6e17f6f214 /votes.cgi | |
parent | Fix for bug 207754 aka bugreplies: It should be possible to produce a (diff) | |
download | bugzilla-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-x | votes.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); |