Browse Source

Make SQL task work under Oracle

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275276 13f79535-47bb-0310-9956-ffa450edef68
master
Conor MacNeill 22 years ago
parent
commit
443bf819ed
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/SQLExec.java

+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/SQLExec.java View File

@@ -554,7 +554,7 @@ public class SQLExec extends JDBCTask {
ret = statement.getMoreResults();
updateCount = statement.getUpdateCount();
resultSet = statement.getResultSet();
} while ((resultSet != null) || (updateCount != -1));
} while (ret);

log(updateCountTotal + " rows affected",
Project.MSG_VERBOSE);


Loading…
Cancel
Save