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: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]