summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-09-03 10:18:25 +0200
committerErich Eckner <git@eckner.net>2018-09-03 10:18:25 +0200
commit620155ea8b1d3d4ec4d193fbc02421b1fca9730f (patch)
tree9fe7e8fc7de6642e57aac5a4d824d62a91125044 /lib
parent8a4b8f39ed0059ee92b42337e11e97683cf58aa7 (diff)
downloadbuilder-620155ea8b1d3d4ec4d193fbc02421b1fca9730f.tar.xz
lib/mysql-functions: update TODO
Diffstat (limited to 'lib')
-rwxr-xr-xlib/mysql-functions5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index 54c1232..8cdafad 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -343,12 +343,13 @@ mysql_generate_package_metadata() {
done
# TODO: Data should be loaded by "LOAD DATA LOCAL INFILE ...". This
- # has two advantages: 1st, we separate data from the commands
+ # has three advantages: 1st, we separate data from the commands
# (aesthetic), 2nd, we can prepare/check the data to load "offline",
# 3rd, we are less sensitive to errors in the middle of the commit.
# For this we need some intermediate files which are loaded into
# temporary tables:
- # - pkgbase -> pkgname
+ # - pkgbase -> build_assignment (multiple archs possible!)
+ # - build_assignment -> pkgname (split packages possible!)
# - pkgname -> dependency
# - pkgname -> provides