Commit d057a757 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 398986: Incorrect SQL query when moving bugs to another product - Patch by…

Bug 398986: Incorrect SQL query when moving bugs to another product - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=mkanat a=LpSolit
parent 1b8e4cad
......@@ -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
......
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