index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | lib/mysql-functions | 4 |
diff --git a/lib/mysql-functions b/lib/mysql-functions index 1c8a3f0..d159fe9 100755 --- a/lib/mysql-functions +++ b/lib/mysql-functions @@ -874,7 +874,7 @@ mysql_cleanup() { printf ');\n' # remove jobs from build slaves that are not on the build-list if [ "${operator}" = 'DELETE' ]; then - printf 'UPDATE `repositories`' + printf 'UPDATE `binary_packages_in_repositories`' else printf 'SELECT COUNT(DISTINCT `build_slaves`.`id`) FROM `binary_packages_in_repositories`' fi @@ -887,7 +887,7 @@ mysql_cleanup() { printf ' SET `build_slaves`.`currently_building`=NULL' fi printf ' WHERE `build_slaves`.`currently_building` IS NOT NULL' - printf ' AND `repositories`.`id` IS NULL;\n' + printf ' AND `binary_packages_in_repositories`.`id` IS NULL;\n' # remove build orders from build slaves which have not connected within 1h if [ "${operator}" = 'DELETE' ]; then printf 'UPDATE `build_slaves`' |