ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32168] New: - Incomplete results from query batch displayed/logged from sql task
Date Wed, 10 Nov 2004 20:13:03 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32168>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32168

Incomplete results from query batch displayed/logged from sql task

           Summary: Incomplete results from query batch displayed/logged
                    from sql task
           Product: Ant
           Version: 1.6.2
          Platform: All
        OS/Version: AIX
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: william.swayze@libertymutual.com


When executing a batch or block of sql that includes a sql command that does 
not return a java ResultSet object, the output is not displayed or directed to 
the identified file.  The problem is in the boolean clause of the do while loop 
in the execSQL() method of the SQLExec class.  The condition should be (ret || 
updateCount != -1) to allow the loop to continue processing through 
the 'results' which may not be ResultSet objects.  An example is when a stored 
proc is called within a block of sql (Sybase: exec procname parameter list).

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message