From: Teryk Bellahsene Date: Fri, 31 Jul 2015 13:09:55 +0000 (+0200) Subject: Cross database definition of temporary table X-Git-Tag: 5.2-RC1~880 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ed67fcbdc5aeae489fe42b57735937e0270f9c84;p=sonarqube.git Cross database definition of temporary table --- diff --git a/sonar-db/src/main/resources/org/sonar/db/user/RoleMapper.xml b/sonar-db/src/main/resources/org/sonar/db/user/RoleMapper.xml index 397f976f81a..09fd8d89692 100644 --- a/sonar-db/src/main/resources/org/sonar/db/user/RoleMapper.xml +++ b/sonar-db/src/main/resources/org/sonar/db/user/RoleMapper.xml @@ -129,11 +129,11 @@ WHERE gr.role = #{permission} AND gr.resource_id IS NULL - AND u.active = true + AND u.active=${_true} AND g.id!=#{groupId} - ) as c + ) c