summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-09-03 16:06:30 +0200
committerErich Eckner <git@eckner.net>2018-09-03 16:06:30 +0200
commitce70b682d3e99f039a9b6fa57915d4de62f2875c (patch)
treea6ce13930c41441f2c1588352597586addd844d2
parent5d40a41998efed19853372d2b2b9e68f202ecc31 (diff)
downloadbuilder-ce70b682d3e99f039a9b6fa57915d4de62f2875c.tar.xz
lib/mysql-functions: fix another typo
-rwxr-xr-xlib/mysql-functions8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index 2bc2fbe..799f2d2 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -376,8 +376,8 @@ mysql_generate_package_metadata() {
printf '`type` VARCHAR(16),'
printf '`install_target_name` VARCHAR(128),'
printf '`version_relation` VARCHAR(2),'
- printf '`version_epoch` MEDIUMINT,'
- printf '`version_version` VARCHAR(64)'
+ printf '`install_target_epoch` MEDIUMINT,'
+ printf '`install_target_version` VARCHAR(64)'
printf ');\n'
printf 'LOAD DATA LOCAL INFILE "%s" INTO TABLE `links`;\n' \
"${temp_dir}/database-input"
@@ -456,8 +456,8 @@ mysql_generate_package_metadata() {
printf 'INSERT IGNORE INTO `versions` (`epoch`,`version`)'
printf ' SELECT'
- printf ' `links`.`version_epoch`,'
- printf '`links`.`version_version`'
+ printf ' `links`.`install_target_epoch`,'
+ printf '`links`.`install_target_version`'
printf ' FROM `links`;\n'
for link in 'provides' 'makedepends' 'checkdepends' 'rundepends'; do