summaryrefslogtreecommitdiff
path: root/bin/mysql-functions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-02-13 11:57:11 +0100
committerErich Eckner <git@eckner.net>2018-02-13 11:57:11 +0100
commitecf59e38604bf4c299387019606a74ceb20495ac (patch)
tree1f2891b5a7c6839f49148909efe22e1a1a551371 /bin/mysql-functions
parentc4ead6b43d4731065939e38ee7d8977ce50158ce (diff)
downloadbuilder-ecf59e38604bf4c299387019606a74ceb20495ac.tar.xz
bin/mysql-functions: remove a sanity check which should not be an issue
Diffstat (limited to 'bin/mysql-functions')
-rwxr-xr-xbin/mysql-functions16
1 files changed, 0 insertions, 16 deletions
diff --git a/bin/mysql-functions b/bin/mysql-functions
index 68bc37d..62ced74 100755
--- a/bin/mysql-functions
+++ b/bin/mysql-functions
@@ -651,22 +651,6 @@ mysql_sanity_check() {
printf ' AND `%srep`.`name`="build-list"' \
'a' 'b'
printf ';\n'
- printf 'SELECT DISTINCT CONCAT("package source ",'
- printf '`package_sources`.`%s`,".",' \
- 'pkgbase' 'git_revision' 'mod_git_revision'
- printf '`upstream_repositories`.`name`," has parts in ",'
- printf '`repo_a`.`name`," and ",'
- printf '`repo_b`.`name`," - which should not be the case!")'
- printf ' FROM `upstream_repositories`'
- printf ' JOIN `%s` ON `%s`.`%s`=`%s`.`id`' \
- 'package_sources' 'package_sources' 'upstream_package_repository' 'upstream_repositories' \
- 'build_assignments' 'build_assignments' 'package_source' 'package_sources' \
- 'binary_packages` AS `bin_a' 'bin_a' 'build_assignment' 'build_assignments' \
- 'binary_packages` AS `bin_b' 'bin_b' 'build_assignment' 'build_assignments' \
- 'repositories` AS `repo_a' 'bin_a' 'repository' 'repo_a' \
- 'repositories` AS `repo_b' 'bin_b' 'repository' 'repo_b'
- printf ' WHERE `repo_a`.`name` IN ("build-list","deletion-list","to-be-decided")'
- printf ' AND `bin_a`.`repository`!=`bin_b`.`repository`;\n'
} | \
${mysql_command} --raw --batch | \
sed '