ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs SQLExec.java
Date Mon, 22 Sep 2003 00:54:31 GMT
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


Mime
View raw message