From ce70b682d3e99f039a9b6fa57915d4de62f2875c Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 3 Sep 2018 16:06:30 +0200 Subject: lib/mysql-functions: fix another typo --- lib/mysql-functions | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/mysql-functions') 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 -- cgit v1.2.3-70-g09d2