From 1ad4390c01eb2d69980af1dcae32d26dcb319359 Mon Sep 17 00:00:00 2001 From: bernd Date: Wed, 14 Nov 2012 21:24:31 +0100 Subject: [PATCH 06/25] Fix connection leak in QueryTool.update() when using a data source. --- eodsql/src/net/lemnik/eodsql/QueryTool.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eodsql/src/net/lemnik/eodsql/QueryTool.java b/eodsql/src/net/lemnik/eodsql/QueryTool.java index f6e4f8e..b8d0183 100644 --- a/eodsql/src/net/lemnik/eodsql/QueryTool.java +++ b/eodsql/src/net/lemnik/eodsql/QueryTool.java @@ -704,7 +704,7 @@ public class QueryTool { try { return QuickQueryUtil.update( dataSource.getConnection(), - false, + true, query, parameters); } catch(SQLException sqle) { -- 1.8.0