-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Axel Ngonga wrote:
C:\Downloads>set class=mwdumper.jar;mysql-connector-java-3.0.11-stable-bin.jar
[snip]
1.000 pages (148,148/sec), 1.000 revs (148,148/sec) 2.000 pages (156,104/sec), 2.000 revs (156,104/sec) Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(Unknown Source) at com.mysql.jdbc.EscapeProcessor.escapeSQL(EscapeProcessor.java:151) at com.mysql.jdbc.Statement.execute(Statement.java:845)
I can't reproduce this problem with MySQL Connector/J 3.0.14 or 3.1.11 (java 1.5.0_06-113 on Mac OS X 10.4/Intel, tried current mwdumper build and the snapshot on download.wikimedia.org); try grabbing 3.0.14 from http://dev.mysql.com/.
- -- brion vibber (brion @ pobox.com / brion @ wikimedia.org)