From 27470a87e0f8d25c3bf137feb29b30268e96ff9c Mon Sep 17 00:00:00 2001 From: bernd Date: Wed, 25 Jul 2012 23:43:39 +0200 Subject: [PATCH 06/22] 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.7.9.5