From cbd911bcb1bc40510fdf56639ef7476612bec24c Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Fri, 17 Oct 2014 08:29:01 +0200 Subject: Revert "SONAR-5605 MySQL: configure driver to use server side cursor and not client side cursor" This reverts commit ccf4726ae0530695bd55903a989bbd6afae1dd5c. --- sonar-application/src/main/assembly/conf/sonar.properties | 2 +- sonar-application/src/main/java/org/sonar/application/JdbcSettings.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'sonar-application/src/main') diff --git a/sonar-application/src/main/assembly/conf/sonar.properties b/sonar-application/src/main/assembly/conf/sonar.properties index 064e2beafac..4c720ee9982 100644 --- a/sonar-application/src/main/assembly/conf/sonar.properties +++ b/sonar-application/src/main/assembly/conf/sonar.properties @@ -28,7 +28,7 @@ #----- MySQL 5.x -#sonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance&useCursorFetch=true +#sonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance #----- Oracle 10g/11g diff --git a/sonar-application/src/main/java/org/sonar/application/JdbcSettings.java b/sonar-application/src/main/java/org/sonar/application/JdbcSettings.java index 2ce07111978..20e32cacd02 100644 --- a/sonar-application/src/main/java/org/sonar/application/JdbcSettings.java +++ b/sonar-application/src/main/java/org/sonar/application/JdbcSettings.java @@ -98,7 +98,6 @@ public class JdbcSettings { if (Provider.mysql.equals(provider)) { checkRequiredParameter(url, "useUnicode=true"); checkRequiredParameter(url, "characterEncoding=utf8"); - checkRequiredParameter(url, "useCursorFetch=true"); checkRecommendedParameter(url, "rewriteBatchedStatements=true"); checkRecommendedParameter(url, "useConfigs=maxPerformance"); } -- cgit v1.2.3