diff options
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 /lib | |
parent | 2e95564029e21323a58f80589aebd7c16448c507 (diff) | |
download | builder-edefe4468a071b3e0252d047d2c030f3abf3c483.tar.xz |
move calculation of mysql_files_table_partitions from lib/mysql-functions to conf/default.conf - $work_dir was not yet set
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/mysql-functions | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions index 7619c10..0625616 100755 --- a/lib/mysql-functions +++ b/lib/mysql-functions @@ -1232,13 +1232,3 @@ mysql_insert_package_files_query() { done } - -mysql_files_table_partitions=$( - printf 'SHOW CREATE TABLE `files`;\n' | \ - mysql_run_query | \ - sed -n ' - s/^.*PARTITIONS \([0-9]\+\) .*$/\1/ - T - p - ' -) |