From 5265829317edd5f340b43d5c2ce6575123a633c0 Mon Sep 17 00:00:00 2001 From: "timeless%mozdev.org" <> Date: Tue, 2 Sep 2003 08:36:28 +0000 Subject: 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 --- votes.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'votes.cgi') 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"); -- cgit v1.2.3-24-g4f1b