Change in ovirt-engine[ovirt-engine-3.6]: core: show data once on ISO shared from multi DCs

Tal Nisan has submitted this change and it was merged. Change subject: core: show data once on ISO shared from multi DCs ...................................................................... core: show data once on ISO shared from multi DCs When the same ISO is shared to multiple DCs, this SP will return duplicate rows (as the number of DCs having this ISO) This is fixed by adding a DISTINCT ON (id) * to the select statement in this SP, this will eliminate the results to the 1st matching record. Change-Id: I7c9a1381aae2eb623d1743314a1fb6ef7795dcb6 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1295742 Signed-off-by: emesika <emesika@redhat.com> --- M packaging/dbscripts/storages_sp.sql 1 file changed, 2 insertions(+), 1 deletion(-) Approvals: Eli Mesika: Verified Oved Ourfali: Looks good to me, approved; Passed CI tests -- To view, visit https://gerrit.ovirt.org/51599 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I7c9a1381aae2eb623d1743314a1fb6ef7795dcb6 Gerrit-PatchSet: 3 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.6 Gerrit-Owner: Eli Mesika <emesika@redhat.com> Gerrit-Reviewer: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Eli Mesika <emesika@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Oved Ourfali <oourfali@redhat.com> Gerrit-Reviewer: Tal Nisan <tnisan@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
tnisan@redhat.com