Update of /cvsroot/jython/jython/com/ziclix/python/sql/handler
In directory usw-pr-cvs1:/tmp/cvs-serv25308/ziclix/python/sql/handler
Modified Files:
UpdateCountDataHandler.java
Log Message:
execution of procedures with no output works
Index: UpdateCountDataHandler.java
===================================================================
RCS file: /cvsroot/jython/jython/com/ziclix/python/sql/handler/UpdateCountDataHandler.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** UpdateCountDataHandler.java 2001/11/20 04:55:18 1.1
--- UpdateCountDataHandler.java 2001/12/17 03:44:42 1.2
***************
*** 31,34 ****
--- 31,36 ----
public class UpdateCountDataHandler extends FilterDataHandler {
+ private static boolean once = false;
+
/**
* The update count for the last executed statement.
***************
*** 44,47 ****
--- 46,54 ----
super(datahandler);
+
+ if (!once) {
+ Py.writeError("UpdateCountDataHandler", zxJDBC.getString("updateCountDeprecation"));
+ once = true;
+ }
this.updateCount = -1;
|