index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2023-07-15 11:46:51 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2023-07-15 11:46:51 +0200 |
commit | cead32cb5659dfaf71651532b6b6ec20209600da (patch) | |
tree | 9b617d94498d3e67394b9b0744c3362081a6ed62 | |
parent | 13af83a6753d7d4423c1669e941f3fea53a58000 (diff) |
-rwxr-xr-x | bin/db-update | 6 |
diff --git a/bin/db-update b/bin/db-update index 88c567d..4c6ae8e 100755 --- a/bin/db-update +++ b/bin/db-update @@ -683,12 +683,10 @@ mysql_query_update_replaced_bpir() { # somewhat inaccurate { - printf '{\n' - printf ' mysql_run_query' - printf ' | sort -u' + printf 'mysql_run_query' printf ' >> "%s/rm"\n' \ "${perma_tmp_dir}" - printf '} <<END_OF_MYSQL_QUERY\n' + printf ' <<END_OF_MYSQL_QUERY\n' printf 'CREATE TEMPORARY TABLE `replaced_bpir` (`id` BIGINT, UNIQUE KEY (`id`));\n' printf 'CREATE TEMPORARY TABLE `moved_bpir` (`id` BIGINT, `new_repository` MEDIUMINT, UNIQUE KEY (`id`));\n' |