You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2005/05/09 23:40:22 UTC

DO NOT REPLY [Bug 34826] - ORA-00600 running SQLExec w/ keepformat="true"

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





------- Additional Comments From glenn.h.brown@jpmorgan.com  2005-05-09 23:40 -------
Created an attachment (id=14976)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=14976&action=view)
Proposed patch

1) It sets a boolean called statementBody. It starts out as false
2) If the line is not a comment or blank like statementBody gets set to true. 
3) If the line is a comment and statementBody is still false the comment gets
thrown on the floor and a debug message is issued saying that it was skipped. 
If it is not a comment it gets appended to the sql string. 
4) If the line ends with a delimiter, sql gets executed and statementBody is
set back to false. 


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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