From: brian z. <bz...@us...> - 2002-01-07 02:11:22
|
Update of /cvsroot/jython/jython/com/ziclix/python/sql In directory usw-pr-cvs1:/tmp/cvs-serv25479/com/ziclix/python/sql Modified Files: Procedure.java Log Message: close the statement IF NOT null Index: Procedure.java =================================================================== RCS file: /cvsroot/jython/jython/com/ziclix/python/sql/Procedure.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Procedure.java 2001/12/29 07:16:20 1.4 --- Procedure.java 2002/01/07 02:11:19 1.5 *************** *** 126,130 **** registerOutParameters(statement); } catch (SQLException e) { ! if (statement == null) { try { statement.close(); --- 126,130 ---- registerOutParameters(statement); } catch (SQLException e) { ! if (statement != null) { try { statement.close(); |