Eli Mesika has submitted this change and it was merged.
Change subject: core: DB Adding missing check to fix...
......................................................................
core: DB Adding missing check to fix...
DB Adding missing check to fix duplicate key violation
Checking if key exists before attempt to add a record to disks table.
This fixes an attempt to insert duplicate key to the disks table.
Change-Id: Ia1f8befcaad0e20d7259980cb0e5f2e116964245
Signed-off-by: Eli Mesika <emesika(a)redhat.com>
---
M backend/manager/dbscripts/upgrade/03_01_0070_populate_disks_table.sql
1 file changed, 10 insertions(+), 8 deletions(-)
Approvals:
Eli Mesika: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/10701
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia1f8befcaad0e20d7259980cb0e5f2e116964245
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs(a)redhat.com>