From 6a83f4a282874af9b4833a46cb66e95068286ea7 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Mon, 17 Mar 2008 04:15:16 +0000 Subject: [PATCH] [ 1916285 ] CStatement.close should do nothing if it have been closed. --- base/src/org/compiere/util/CStatement.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/base/src/org/compiere/util/CStatement.java b/base/src/org/compiere/util/CStatement.java index 48b1934111..54b3b88756 100644 --- a/base/src/org/compiere/util/CStatement.java +++ b/base/src/org/compiere/util/CStatement.java @@ -739,6 +739,8 @@ public class CStatement implements Statement */ public void close () throws SQLException { + if (close) return; + try { if (p_stmt != null) {