Change in ovirt-engine[master]: db: cleanup: rename function names

emesika at redhat.com emesika at redhat.com
Sun Mar 2 10:25:55 UTC 2014


Eli Mesika has submitted this change and it was merged.

Change subject: db: cleanup: rename function names
......................................................................


db: cleanup: rename function names

dbfunc_common_      - public interface
dbfunc_common_hook_ - hooks
_dbfunc_common_     - private

custom functions are provided as hooks, the default implementation a
void hook, custom can override it.

reorder public interface to have <prefix>_<group>_<verb>

Change-Id: Icce88f1d8f19da83c757f94ad661cb676bd70274
Signed-off-by: Alon Bar-Lev <alonbl at redhat.com>
---
M packaging/dbscripts/cleandb.sh
M packaging/dbscripts/create_schema.sh
M packaging/dbscripts/dbfunc-common.sh
M packaging/dbscripts/dbfunc-custom.sh
M packaging/dbscripts/refreshStoredProcedures.sh
M packaging/dbscripts/unlock_entity.sh
M packaging/dbscripts/upgrade.sh
7 files changed, 101 insertions(+), 73 deletions(-)

Approvals:
  Alon Bar-Lev: Verified
  Eli Mesika: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Icce88f1d8f19da83c757f94ad661cb676bd70274
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Yedidyah Bar David <didi at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list