]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-10587 fix non oracle compliant sql clause
authorGuillaume Jambet <guillaume.jambet@sonarsource.com>
Mon, 30 Apr 2018 15:03:12 +0000 (17:03 +0200)
committerSonarTech <sonartech@sonarsource.com>
Mon, 30 Apr 2018 18:20:56 +0000 (20:20 +0200)
server/sonar-db-dao/src/main/resources/org/sonar/db/issue/IssueMapper.xml

index 52f3d91d7a6f3f5f72414f828078245b410da7cd..696ccef78f7fe3d1820e0be03533b73f2539b425 100644 (file)
     inner join projects p on p.uuid = i.component_uuid
     inner join projects root on root.uuid = i.project_uuid
     where
-    r.is_external = 'false' and
+    r.is_external = ${_false} and
     i.project_uuid = #{projectUuid, jdbcType=VARCHAR} and
     p.module_uuid_path like  #{likeModuleUuidPath, jdbcType=VARCHAR} escape '/' and
     i.status &lt;&gt; 'CLOSED'