Change in ovirt-engine[ovirt-engine-3.5]: db: add a common function for index creation

oourfali at redhat.com oourfali at redhat.com
Mon Nov 17 07:44:36 UTC 2014


Oved Ourfali has submitted this change and it was merged.

Change subject: db: add a common function for index creation
......................................................................


db: add a common function for index creation

This patch adds a common function that drop the index if exists and
creates it after that.

This is done in order to prevent scripts failures when the index is not
dropped and an attempt to re-create it is done

Bug-Url: https://bugzilla.redhat.com/1155153
Change-Id: I6e6e2577ceac435e25030dfde6ff6c4c3f8a7278
Signed-off-by: Eli Mesika <emesika at redhat.com>
(cherry picked from commit d65b5293b48d552d90cc4dbf44d2c09769548906)
---
M packaging/dbscripts/common_sp.sql
1 file changed, 19 insertions(+), 0 deletions(-)

Approvals:
  Oved Ourfali: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/35195
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I6e6e2577ceac435e25030dfde6ff6c4c3f8a7278
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Yedidyah Bar David <didi at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list