summaryrefslogtreecommitdiff
path: root/lib/mysql-functions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-09-03 15:34:38 +0200
committerErich Eckner <git@eckner.net>2018-09-03 15:34:38 +0200
commite34595ccd15eaf0f9722efde27c6aa9c8722e773 (patch)
tree870d4c566931e912d212a58368979c689784c8fd /lib/mysql-functions
parenta06fade4103341c358234bd21dcee9c15ee1d6c4 (diff)
downloadbuilder-e34595ccd15eaf0f9722efde27c6aa9c8722e773.tar.xz
lib/mysql-functions: fix typo
Diffstat (limited to 'lib/mysql-functions')
-rwxr-xr-xlib/mysql-functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index 40843e3..aa6a5ee 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -407,7 +407,7 @@ mysql_generate_package_metadata() {
printf ' FROM `links`'
printf ' JOIN `architectures`'
printf ' ON `architectures`.`name`=`links`.`build_architecture`'
- printf ' WHERE `links`.`type`=`arch`;\n'
+ printf ' WHERE `links`.`type`="arch";\n'
printf 'INSERT IGNORE INTO `binary_packages` ('
printf '`build_assignment`,'
@@ -432,7 +432,7 @@ mysql_generate_package_metadata() {
printf ' JOIN `architectures` AS `ba_a`'
printf ' ON `ba_a`.`name`=`links`.`build_architecture`'
mysql_join_architectures_build_assignments 'ba_a'
- printf ' WHERE `links`.`type`=`arch`;\n'
+ printf ' WHERE `links`.`type`="arch";\n'
printf 'INSERT IGNORE INTO `binary_packages_in_repositories` ('
printf ' `package`'