[Collab-qa-commits] r1291 - udd/sql
kroeckx at alioth.debian.org
kroeckx at alioth.debian.org
Wed Sep 24 20:22:28 UTC 2008
Author: kroeckx
Date: 2008-09-24 20:22:27 +0000 (Wed, 24 Sep 2008)
New Revision: 1291
Modified:
udd/sql/setup.sql
Log:
I changed a few packages to source too much, from the packages table we really want the package field.
Modified: udd/sql/setup.sql
===================================================================
--- udd/sql/setup.sql 2008-09-24 18:46:23 UTC (rev 1290)
+++ udd/sql/setup.sql 2008-09-24 20:22:27 UTC (rev 1291)
@@ -161,9 +161,9 @@
WHERE affects_unstable AND affects_testing
AND (id NOT IN (SELECT id FROM bugs_tags WHERE tag IN ('sarge', 'etch', 'experimental'))
OR (id IN (SELECT id FROM bugs_tags WHERE tag = 'sid') AND id IN (SELECT id FROM bugs_tags WHERE tag = 'lenny')))
-AND ( package IN (SELECT DISTINCT source FROM packages p WHERE release = 'sid')
+AND ( package IN (SELECT DISTINCT package FROM packages p WHERE release = 'sid')
OR source IN (SELECT DISTINCT source FROM sources WHERE release = 'sid'))
-AND ( package IN (SELECT DISTINCT source FROM packages p WHERE release = 'lenny')
+AND ( package IN (SELECT DISTINCT package FROM packages p WHERE release = 'lenny')
OR source IN (SELECT DISTINCT source FROM sources WHERE release = 'lenny'));
GRANT SELECT ON bugs TO PUBLIC;
More information about the Collab-qa-commits
mailing list