koala775 opened a new issue, #24133:
URL: https://github.com/apache/shardingsphere/issues/24133
version:Shardingsphere-Proxy.5.2.1
code:
```
connection:jdbc://mysql://ip:port/db?rewriteBatchedStaments=true
Statement stmt=conn.createStatement();
for(int int i=0;i<num;i++){
stmt.addBatch("insert into tabel(name) values("‘name"+i+"’)");
}
stmt.executeBatch();
```
when num<=4,it's ok.But when num>4,it throw a exception:bad SQL
grammar[INSERT INTO table.....], You have an error in your SOLyntax; check the
manual that corresponds to your Mysql server version for the right syntax to
use near "INSERT INTO
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail:
[email protected]
For queries about this service, please contact Infrastructure at:
[email protected]