From c3a16c0a7486bdec6ef458c57abc820ed901a50f Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 27 Jul 2018 14:17:25 +0200 Subject: lib/mysql-functions: add TODO --- lib/mysql-functions | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib') diff --git a/lib/mysql-functions b/lib/mysql-functions index 2ae5832..24c5c3f 100755 --- a/lib/mysql-functions +++ b/lib/mysql-functions @@ -349,6 +349,10 @@ mysql_generate_package_metadata() { # The links between the above should _solely_ be made by the ids of # the respective rows. + # TODO: Data should be loaded by "LOAD DATA LOCAL INFILE ...". This + # has two advantages: 1st, we separate data from the commands + # (aesthetic), 2nd, we can prepare/check the data to load "offline". + # now each "ARCHINFO $pkgname $arch" file represents one binary package find "${temp_dir}" -mindepth 1 -maxdepth 1 -name 'ARCHINFO * *' -printf '%f\n' | \ while read -r _ pkgname arch; do -- cgit v1.2.3-54-g00ecf