Bug 398986: Incorrect SQL query when moving bugs to another product - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@237448 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1421,7 +1421,7 @@ sub set_product {
|
||||
my $gids = $dbh->selectcol_arrayref(
|
||||
'SELECT bgm.group_id
|
||||
FROM bug_group_map AS bgm
|
||||
WHERE bgm.bug_id IN (' . join(',', ('?' x @idlist)) . ')
|
||||
WHERE bgm.bug_id IN (' . join(',', ('?') x @idlist) . ')
|
||||
AND bgm.group_id NOT IN
|
||||
(SELECT gcm.group_id
|
||||
FROM group_control_map AS gcm
|
||||
|
||||
Reference in New Issue
Block a user