- AND o.suite = %s AND o.type != %s AND NOT EXISTS
- (SELECT b_dst.id FROM bin_associations ba2, binaries b_dst
- WHERE ba2.bin = b_dst.id AND b_dst.package = b_src.package
- AND (b_dst.architecture = %s OR b_dst.architecture = %s)
- AND ba2.suite = %s AND EXISTS
- (SELECT b2.id FROM bin_associations ba3, binaries b2
+ AND o.suite = %s AND o.type != %s AND NOT EXISTS
+ (SELECT 1 FROM bin_associations ba2, binaries b_dst
+ WHERE ba2.bin = b_dst.id AND b_dst.package = b_src.package
+ AND (b_dst.architecture = %s OR b_dst.architecture = %s)
+ AND ba2.suite = %s AND EXISTS
+ (SELECT 1 FROM bin_associations ba3, binaries b2