From 96773fdedcae8354aa720c63fb289140d482529d Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 23 Jul 2018 15:06:31 +0200 Subject: do not address deletion-list directly, but rather by its stability "forbidden" --- lib/mysql-functions | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib') diff --git a/lib/mysql-functions b/lib/mysql-functions index a984508..bb58ca0 100755 --- a/lib/mysql-functions +++ b/lib/mysql-functions @@ -633,12 +633,12 @@ mysql_sanity_check() { mysql_join_binary_packages_in_repositories_binary_packages 'b_bir' 'b' printf ' AND `a`.`pkgname`=`b`.`pkgname`' printf ' AND `a`.`id`!=`b`.`id`' - printf ' WHERE `a_r`.`id` NOT IN (%s,%s)' \ - "${repository_ids__any_deletion_list}" \ - "${repository_ids__any_to_be_decided}" - printf ' AND `b_r`.`id` NOT IN (%s,%s);\n' \ - "${repository_ids__any_deletion_list}" \ - "${repository_ids__any_to_be_decided}" + printf ' WHERE `a_r`.`stability` NOT IN (%s,%s)' \ + "${repository_stability_ids__forbidden}" \ + "${repository_stability_ids__virtual}" + printf ' AND `b_r`.`stability` NOT IN (%s,%s);\n' \ + "${repository_stability_ids__forbidden}" \ + "${repository_stability_ids__virtual}" printf 'SELECT DISTINCT CONCAT("split-package with differing sub_pkgrels on the build-list: ",`a`.`pkgname`)' printf ' FROM `binary_packages` AS `a`' printf ' JOIN `binary_packages` AS `b` ON `a`.`build_assignment`=`b`.`build_assignment`' -- cgit v1.2.3-70-g09d2