From f365af4a523992a28016277cd325fa1f0fb76899 Mon Sep 17 00:00:00 2001 From: bernd Date: Sat, 30 Jul 2011 14:46:02 +0200 Subject: [PATCH 03/12] Fix connection leak in QueryTool.update() when using a data source. --- eodsql/src/net/lemnik/eodsql/QueryTool.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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.6