ofri masad has uploaded a new change for review.

Change subject: core: Fix vds_group_sp.sql
......................................................................

core: Fix vds_group_sp.sql

Fix for Change-Id: I5847d234e396fe8a83017fb25a5139f552e7c61b
Table name was not changed in internal SELECT clause.

Change-Id: I7d1a191ef1610e80f72c9bb01895e00e6b58503e
Signed-off-by: Ofri Masad <[email protected]>
---
M backend/manager/dbscripts/vds_groups_sp.sql
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/11/11411/1

diff --git a/backend/manager/dbscripts/vds_groups_sp.sql 
b/backend/manager/dbscripts/vds_groups_sp.sql
index 25ce5fc..7e08d9b 100644
--- a/backend/manager/dbscripts/vds_groups_sp.sql
+++ b/backend/manager/dbscripts/vds_groups_sp.sql
@@ -190,7 +190,7 @@
 BEGIN
       RETURN QUERY SELECT vds_groups_view.*
       FROM vds_groups_view
-      WHERE (SELECT get_entity_permissions(v_user_id, v_action_group_id, 
vds_groups.vds_group_id, 9)) IS NOT NULL;
+      WHERE (SELECT 1 from get_entity_permissions(v_user_id, 
v_action_group_id, vds_groups.vds_group_id, 9)) IS NOT NULL;
 END; $procedure$
 LANGUAGE plpgsql;
 


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7d1a191ef1610e80f72c9bb01895e00e6b58503e
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: ofri masad <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to