index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-03-29 16:27:21 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-03-29 16:27:21 +0200 |
commit | edefe4468a071b3e0252d047d2c030f3abf3c483 (patch) | |
tree | 91f90084f7173b5d34f06dfee3009645e517ae71 /conf | |
parent | 2e95564029e21323a58f80589aebd7c16448c507 (diff) |
-rwxr-xr-x | conf/default.conf | 11 |
diff --git a/conf/default.conf b/conf/default.conf index efbb5b4..ff87f53 100755 --- a/conf/default.conf +++ b/conf/default.conf @@ -156,3 +156,14 @@ if [ "${master_build_server_identity}" = "${work_dir}/.ssh/id_rsa" ] && \ mkdir -p "${master_build_server_identity%/*}" ssh-keygen -b4096 -f "${master_build_server_identity}" fi + +mysql_files_table_partitions=$( + # shellcheck disable=SC2016 + printf 'SHOW CREATE TABLE `files`;\n' | \ + mysql_run_query | \ + sed -n ' + s/^.*PARTITIONS \([0-9]\+\) .*$/\1/ + T + p + ' +) |