index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-09-03 10:13:07 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-09-03 10:13:07 +0200 |
commit | 8a4b8f39ed0059ee92b42337e11e97683cf58aa7 (patch) | |
tree | ccb9197063304ee65febc501af174cd8cebc4915 /lib/mysql-functions | |
parent | a98a0e3e6250d427b6edbe361afcadbe407c5558 (diff) |
-rwxr-xr-x | lib/mysql-functions | 2 |
diff --git a/lib/mysql-functions b/lib/mysql-functions index 2a41766..54c1232 100755 --- a/lib/mysql-functions +++ b/lib/mysql-functions @@ -46,7 +46,7 @@ mysql_run_query() { # we save the query in a file and delete that file if the query succeeded query_stdin=$(mktemp "${work_dir}/tmp.mysql-functions.${file_name_extra}query.$(date +'%Y-%m-%dT%T').XXXXXX.stdin") query_stdout="${query_stdin%.stdin}.stdout" - query_stdout="${query_stdin%.stdin}.stderr" + query_stderr="${query_stdin%.stdin}.stderr" cat > "${query_stdin}" for _ in {1..10}; do ${mysql_command} -N --raw --batch "$@" \ |