Mike Kolesnik has submitted this change and it was merged. Change subject: core: Change images_storage_domain_view to left join disks ......................................................................
core: Change images_storage_domain_view to left join disks This is required for supporting preview & restore from snapshot to snapshot. View was also fixed so that the switch cases don't return false values in the case that the fields are null (which can happen because of left join). Needed to explicitly ignore the "Blank template image" in the view, since it is a fake entry and should not be returned. Change-Id: I54a5022784116acbd3e1daac41657cc096d62ef3 --- M backend/manager/dbscripts/create_views.sql M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/DiskImageBase.java 2 files changed, 16 insertions(+), 10 deletions(-) Approvals: Mike Kolesnik: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/2183 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I54a5022784116acbd3e1daac41657cc096d62ef3 Gerrit-PatchSet: 9 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Mike Kolesnik <mkole...@redhat.com> Gerrit-Reviewer: Mike Kolesnik <mkole...@redhat.com> Gerrit-Reviewer: Muli Salem <msa...@redhat.com> Gerrit-Reviewer: Omer Frenkel <ofren...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches