Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.2.3
-
None
-
Windows 2012 64-bit as well as Ubuntu
Description
The code below will throw issues with any versions above 1.1.7, including 1.2.3 when rewriteBatchedStatements=true
public static void main(String[] args) throws SQLException { |
MariaDB db = new MariaDB(); |
Connection conn = db.getConnection();
|
Statement sqlInsert = conn.createStatement();
|
for (int i = 0; i < 100; i++) { |
sqlInsert.addBatch("insert into prep (text) values ('This is a test"+ i +"');"); |
}
|
sqlInsert.executeBatch();
|
conn.commit();
|
}
|
Attachments
Issue Links
- relates to
-
CONJ-142 Using a semicolon in a string with "rewriteBatchedStatements=true" fails
- Closed