]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 217242 CheckIfVotedConfirmed tripped Table 'fielddefs' was not locked with LOCK...
authortimeless%mozdev.org <>
Tue, 2 Sep 2003 08:36:28 +0000 (08:36 +0000)
committertimeless%mozdev.org <>
Tue, 2 Sep 2003 08:36:28 +0000 (08:36 +0000)
r=justdave a=justdave

votes.cgi

index dfa55b91d6c24e9112e3b21a790e351429ac6b98..0d9cf47b68dff0c5dbf212f42ec13f215938a892 100755 (executable)
--- 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");