Eli Mesika has uploaded a new change for review.

Change subject: core: add ability to run shell upgrade steps
......................................................................

core: add ability to run shell upgrade steps

Up to now, we were able to run only SQL files in upgrade pre_upgrade and
post_upgrade.
This patch adds the ability to add shell scripts as upgrade steps or as
part of the pre/post upgrade.
Shell script files preserve the same naming conventions as regular SQL
upgrade scripts and recorded in the same way to the schema_version
table.

This patch is mandatory to some bugs that requires upgrading the
database via a shell script.

Change-Id: Ia3a88c21c97ebdd9bd35c2b0da87cba1cbde54c7
Signed-off-by: Eli Mesika <emes...@redhat.com>
---
M backend/manager/dbscripts/dbfunctions.sh
1 file changed, 30 insertions(+), 9 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/57/6957/1
--
To view, visit http://gerrit.ovirt.org/6957
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia3a88c21c97ebdd9bd35c2b0da87cba1cbde54c7
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emes...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to