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 26459] - SQL task (SQLExec class) might not see a ROW delimiter correctly
Date Tue, 27 Jan 2004 10:50:26 GMT
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


Mime
View raw message