From cbd911bcb1bc40510fdf56639ef7476612bec24c Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Fri, 17 Oct 2014 08:29:01 +0200 Subject: [PATCH] Revert "SONAR-5605 MySQL: configure driver to use server side cursor and not client side cursor" This reverts commit ccf4726ae0530695bd55903a989bbd6afae1dd5c. --- .../java/org/sonar/server/db/migrations/SelectImpl.java | 7 ++++++- sonar-application/src/main/assembly/conf/sonar.properties | 2 +- .../src/main/java/org/sonar/application/JdbcSettings.java | 1 - .../test/java/org/sonar/application/JdbcSettingsTest.java | 4 ++-- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/server/sonar-server/src/main/java/org/sonar/server/db/migrations/SelectImpl.java b/server/sonar-server/src/main/java/org/sonar/server/db/migrations/SelectImpl.java index d0724aaa813..b49fc88edee 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/db/migrations/SelectImpl.java +++ b/server/sonar-server/src/main/java/org/sonar/server/db/migrations/SelectImpl.java @@ -21,6 +21,7 @@ package org.sonar.server.db.migrations; import org.apache.commons.dbutils.DbUtils; import org.sonar.core.persistence.Database; +import org.sonar.core.persistence.dialect.MySql; import java.sql.Connection; import java.sql.PreparedStatement; @@ -82,7 +83,11 @@ class SelectImpl extends BaseSqlStatement