summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-01-25 07:59:44 +0100
committerErich Eckner <git@eckner.net>2019-01-25 07:59:44 +0100
commitf9c61396c36adb8187d90f7ff56a4e056ee6d771 (patch)
tree0171f21f1628aea6e8ec8aa5b57c9c77f66b7a4c /misc
parent8f218b45da11714421b2ef8501a1893fcb98e863 (diff)
downloadbuilder-f9c61396c36adb8187d90f7ff56a4e056ee6d771.tar.xz
misc/database-layout.dump: architecture of package_blobs mus be identical
Diffstat (limited to 'misc')
-rw-r--r--misc/database-layout.dump2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/database-layout.dump b/misc/database-layout.dump
index 0d05765..7bffc5f 100644
--- a/misc/database-layout.dump
+++ b/misc/database-layout.dump
@@ -368,7 +368,7 @@ DELETE `replaced_bpir`,`moveable_bpir`
JOIN `package_blobs`
ON `build_assignments`.`package_source`=`package_blobs`.`ps_a`
JOIN `build_assignments` AS `bl_ba`
- ON `bl_ba`.`package_source`=`package_blobs`.`ps_b`
+ ON `bl_ba`.`package_source`=`package_blobs`.`ps_b` AND `bl_ba`.`architecture`=`build_assignments`.`architecture`
JOIN `binary_packages` AS `bl_bp`
ON `bl_ba`.`id`=`bl_bp`.`build_assignment`
JOIN `binary_packages_in_repositories` AS `bl_bpir`