Change in ovirt-engine[master]: core: Make db functions immutable where possible

amureini at redhat.com amureini at redhat.com
Sun Jun 5 11:13:33 UTC 2016


Allon Mureinik has submitted this change and it was merged.

Change subject: core: Make db functions immutable where possible
......................................................................


core: Make db functions immutable where possible

Functions that returns results based only on the parameters (and not any
underlying database table) should be defined as IMMUTABLE, to allow the
database to perform pre-evaluations.

Change-Id: I0e28e140282a0e22c687b4fe84701e8688e421ac
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M packaging/dbscripts/create_functions.sql
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Tal Nisan: Looks good to me, approved
  Eli Mesika: Looks good to me, but someone else must approve
  Allon Mureinik: Verified; Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/58527
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I0e28e140282a0e22c687b4fe84701e8688e421ac
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list