Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
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
parent418488c66f677d211f4357623f10618f4946cac6 (diff)
lib/mysql-functions: mysql_query_remove_old_binary_packages_from_build_list() should COMMIT between queries
-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 '
}