Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 86198 invoked from network); 22 Sep 2003 00:54:35 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 22 Sep 2003 00:54:35 -0000 Received: (qmail 20999 invoked by uid 500); 22 Sep 2003 00:54:17 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 20783 invoked by uid 500); 22 Sep 2003 00:54:16 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 20770 invoked by uid 500); 22 Sep 2003 00:54:16 -0000 Received: (qmail 20767 invoked from network); 22 Sep 2003 00:54:16 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 22 Sep 2003 00:54:16 -0000 Received: (qmail 86165 invoked by uid 1142); 22 Sep 2003 00:54:31 -0000 Date: 22 Sep 2003 00:54:31 -0000 Message-ID: <20030922005431.86164.qmail@minotaur.apache.org> From: conor@apache.org To: ant-cvs@apache.org Subject: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs SQLExec.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N conor 2003/09/21 17:54:31 Modified: src/main/org/apache/tools/ant/taskdefs SQLExec.java Log: Make SQL task work under Oracle Revision Changes Path 1.62 +1 -1 ant/src/main/org/apache/tools/ant/taskdefs/SQLExec.java Index: SQLExec.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/SQLExec.java,v retrieving revision 1.61 retrieving revision 1.62 diff -u -w -u -r1.61 -r1.62 --- SQLExec.java 15 Sep 2003 16:55:01 -0000 1.61 +++ SQLExec.java 22 Sep 2003 00:54:31 -0000 1.62 @@ -554,7 +554,7 @@ ret = statement.getMoreResults(); updateCount = statement.getUpdateCount(); resultSet = statement.getResultSet(); - } while ((resultSet != null) || (updateCount != -1)); + } while (ret); log(updateCountTotal + " rows affected", Project.MSG_VERBOSE); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org