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=27446>.
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=27446

Make <sql> task to suppress "N rows affected" messages

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW



------- Additional Comments From [EMAIL PROTECTED]  2004-05-27 21:45 -------
I wrote the code to fix this; but can't commit as I am not a committer.

As such I'm unassigning it from me.

Index: SQLExec.java
===================================================================
RCS 
file: /home/cvspublic/ant/src/main/org/apache/tools/ant/taskdefs/SQLExec.java,v
retrieving revision 1.67
diff -r1.67 SQLExec.java
135a136,140
>      * Print SQL results statistics (rows affected)
>      */
>     private boolean showfooters = null;
> 
>     /**
317a323,331
>      * Conditionally print the SQL "rows affected" line.
>      * @param showfooters if true prints the "rows affected" line
>      * @since Ant 1.6
>      */
> 
>     public void setShowfooters (boolean showfooters) {this.showfooters = 
showfooters;}
>     public boolean getShowfooters () {return showfooters;}
> 
>     /**
543c557
<             if (print) {
---
>             if (print && showfooters) {
545c559
<                 line.append(updateCountTotal + " rows affected");
---
>               line.append(updateCountTotal + " rows affected");

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to