diff options
author | timeless%mozdev.org <> | 2003-09-02 10:36:28 +0200 |
---|---|---|
committer | timeless%mozdev.org <> | 2003-09-02 10:36:28 +0200 |
commit | 5265829317edd5f340b43d5c2ce6575123a633c0 (patch) | |
tree | 6ffc93fea96201fb4d174deba20acf6e17f6f214 | |
parent | 481ce783a381eabe3c40294f0c2d37cde0e7dcbb (diff) | |
download | bugzilla-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-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"); |