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 2004/01/27 11:50:26 UTC
DO NOT REPLY [Bug 26459] -
SQL task (SQLExec class) might not see a ROW delimiter correctly
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26459>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26459
SQL task (SQLExec class) might not see a ROW delimiter correctly
------- Additional Comments From matthieu.recouly@laposte.net 2004-01-27 10:50 -------
Additionaly, changing the following line:
execSQL(sql.substring(0, sql.length() - delimiter.length()),
to:
execSQL(sql.substring(0, sql.length() -
(delimiterType.equals(DelimiterType.NORMAL)?delimiter.length():line.length())),
is required to definitely strip the ROW delimiter from SQL string we send to the
database
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org