Commit 52658293 authored by timeless%mozdev.org's avatar timeless%mozdev.org

Bug 217242 CheckIfVotedConfirmed tripped Table 'fielddefs' was not locked with…

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
parent 481ce783
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment