index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-06-06 09:41:43 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-06-06 09:44:55 +0200 |
commit | 5d4ee96c75951a99060497c484fe605cee638135 (patch) | |
tree | e27491c868b3a0cea675b5de691e4687a0cd7e04 /lib | |
parent | 4cf2cfcc0f07501a26c73cf7d9f8884d8ba262c9 (diff) |
-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`' |