Mike Kolesnik has uploaded a new change for review. 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 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. DiskImageBase also fixed so that it won't fail on null internal_drive_mapping value. Change-Id: I54a5022784116acbd3e1daac41657cc096d62ef3 squash! core: Change images_storage_domain_view to left join disks Change-Id: I44568219131b3fe9ecdeed717ce8d8e725310fc2 --- 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, 15 insertions(+), 9 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/93/2193/1 -- To view, visit http://gerrit.ovirt.org/2193 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I44568219131b3fe9ecdeed717ce8d8e725310fc2 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Mike Kolesnik <mkole...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches