]> source.dussan.org Git - sonarqube.git/commit
Replace SQL "count(*)" by "count(1)" 796/head
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Fri, 26 Feb 2016 15:47:54 +0000 (16:47 +0100)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Mon, 29 Feb 2016 11:12:16 +0000 (12:12 +0100)
commitcbf142857bfce52b0131ade69ce34880f813f2e7
tree2294fe7aa748c156662b12a3e3ce13ee35fd76dc
parentafe276c062e03d7c0ed7bab97b0ee8cf0511423e
Replace SQL "count(*)" by "count(1)"

It can have slight performance improvements on some databases.
34 files changed:
it/it-tests/src/test/java/it/dbCleaner/PurgeTest.java
it/it-tests/src/test/java/it/debt/TechnicalDebtPurgeTest.java
it/it-tests/src/test/java/it/projectAdministration/ProjectAdministrationTest.java
sonar-db/src/main/java/org/sonar/db/property/PropertiesDao.java
sonar-db/src/main/resources/org/sonar/db/ce/CeQueueMapper.xml
sonar-db/src/main/resources/org/sonar/db/component/ResourceKeyUpdaterMapper.xml
sonar-db/src/main/resources/org/sonar/db/component/SnapshotMapper.xml
sonar-db/src/main/resources/org/sonar/db/loadedtemplate/LoadedTemplateMapper.xml
sonar-db/src/main/resources/org/sonar/db/measure/custom/CustomMeasureMapper.xml
sonar-db/src/main/resources/org/sonar/db/metric/MetricMapper.xml
sonar-db/src/main/resources/org/sonar/db/notification/NotificationQueueMapper.xml
sonar-db/src/main/resources/org/sonar/db/permission/PermissionMapper.xml
sonar-db/src/main/resources/org/sonar/db/permission/PermissionTemplateMapper.xml
sonar-db/src/main/resources/org/sonar/db/user/AuthorMapper.xml
sonar-db/src/main/resources/org/sonar/db/user/GroupMapper.xml
sonar-db/src/main/resources/org/sonar/db/user/RoleMapper.xml
sonar-db/src/main/resources/org/sonar/db/user/UserMapper.xml
sonar-db/src/test/java/org/sonar/db/DatabaseCommands.java
sonar-db/src/test/java/org/sonar/db/DbTester.java
sonar-db/src/test/java/org/sonar/db/component/ResourceIndexDaoTest.java
sonar-db/src/test/java/org/sonar/db/purge/PurgeDaoTest.java
sonar-db/src/test/java/org/sonar/db/version/v50/FeedIssueLongDatesTest.java
sonar-db/src/test/java/org/sonar/db/version/v51/CopyScmAccountsFromAuthorsToUsersTest.java
sonar-db/src/test/java/org/sonar/db/version/v51/FeedAnalysisReportsLongDatesTest.java
sonar-db/src/test/java/org/sonar/db/version/v51/FeedEventsLongDatesTest.java
sonar-db/src/test/java/org/sonar/db/version/v51/FeedFileSourcesBinaryDataTest.java
sonar-db/src/test/java/org/sonar/db/version/v51/FeedIssueChangesLongDatesTest.java
sonar-db/src/test/java/org/sonar/db/version/v51/FeedIssuesLongDatesTest.java
sonar-db/src/test/java/org/sonar/db/version/v51/FeedManualMeasuresLongDatesTest.java
sonar-db/src/test/java/org/sonar/db/version/v51/FeedSnapshotsLongDatesTest.java
sonar-db/src/test/java/org/sonar/db/version/v51/FeedUsersLongDatesTest.java
sonar-db/src/test/java/org/sonar/db/version/v54/InsertGateAdminPermissionForEachProfileAdminTest.java
sonar-db/src/test/java/org/sonar/db/version/v54/RemoveComponentPagePropertiesTest.java
sonar-db/src/test/java/org/sonar/db/version/v55/FeedRulesLongDateColumnsTest.java