summaryrefslogtreecommitdiff
path: root/lib/mysql-functions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-10-11 13:45:51 +0200
committerErich Eckner <git@eckner.net>2018-10-11 13:45:51 +0200
commit56ed9475afc3973763e8c62d61e52e00b4386a4a (patch)
tree6c2af0ddce138562303f5c1898407875e227c6a7 /lib/mysql-functions
parent418488c66f677d211f4357623f10618f4946cac6 (diff)
downloadbuilder-56ed9475afc3973763e8c62d61e52e00b4386a4a.tar.xz
lib/mysql-functions: mysql_query_remove_old_binary_packages_from_build_list() should COMMIT between queries
Diffstat (limited to 'lib/mysql-functions')
-rwxr-xr-xlib/mysql-functions2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index e1f0d6c..8813577 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -1405,6 +1405,8 @@ mysql_query_remove_old_binary_packages_from_build_list() {
printf ')'
printf ');\n'
+ printf 'COMMIT;\n'
+
mysql_query_and_delete_unneeded_binary_packages | \
grep -v '^SELECT '
}