Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/mysql-functions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-09-01 15:57:10 +0200
committerErich Eckner <git@eckner.net>2018-09-01 15:57:10 +0200
commiteab92b64672d6945fba1ad4ea56d5303a5abc46e (patch)
treeaa38921f5cdb600ea692186d0badf92ae18e965f /lib/mysql-functions
parent2d1d217168aec68f7f4556bdec90971e62fb36dd (diff)
lib/mysql-functions: update TODO
Diffstat (limited to 'lib/mysql-functions')
-rwxr-xr-xlib/mysql-functions3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index 164fe9d..b9489a6 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -351,7 +351,8 @@ mysql_generate_package_metadata() {
# 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".
+ # (aesthetic), 2nd, we can prepare/check the data to load "offline",
+ # 3rd, we are less sensitive to errors in the middle of the commit.
# now each "ARCHINFO $pkgname $arch" file represents one binary package
find "${temp_dir}" -mindepth 1 -maxdepth 1 -name 'ARCHINFO * *' -printf '%f\n' | \