diff options
author | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2015-07-31 15:09:55 +0200 |
---|---|---|
committer | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2015-07-31 15:10:09 +0200 |
commit | ed67fcbdc5aeae489fe42b57735937e0270f9c84 (patch) | |
tree | 727d0eb591d8b23737c8897b2564e0374e461696 /sonar-db | |
parent | 4c40cf332ab9a2ef81bf5b42a79e157af282042d (diff) | |
download | sonarqube-ed67fcbdc5aeae489fe42b57735937e0270f9c84.tar.gz sonarqube-ed67fcbdc5aeae489fe42b57735937e0270f9c84.zip |
Cross database definition of temporary table
Diffstat (limited to 'sonar-db')
-rw-r--r-- | sonar-db/src/main/resources/org/sonar/db/user/RoleMapper.xml | 4 |
1 files changed, 2 insertions, 2 deletions
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} <if test="groupId!=null"> AND g.id!=#{groupId} </if> - ) as c + ) c </select> <delete id="deleteGroupRolesByGroupId" parameterType="long"> |