From 7d5e0bfe7ea96f1675f3a9fc5a8e102d2309a099 Mon Sep 17 00:00:00 2001 From: bernd Date: Thu, 4 Aug 2011 02:11:37 +0200 Subject: [PATCH 05/16] 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