Bug #109377 | rewriteBatchedStatements doesn't work when parenthesis are found in values | ||
---|---|---|---|
Submitted: | 14 Dec 2022 13:36 | Modified: | 20 Mar 16:29 |
Reporter: | Carl Nyströmer | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / J | Severity: | S3 (Non-critical) |
Version: | 8.0.30, 8.0.31 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[14 Dec 2022 13:36]
Carl Nyströmer
[15 Dec 2022 13:22]
MySQL Verification Team
Hello Carl Nyströmer, Thank you for the report and feedback. regards, Umesh
[20 Mar 16:29]
Daniel So
Posted by developer: Added the following entry to the Connector/J 8.0.33 changelog: "Rewriting of batched statements failed when a closing parenthesis was found within a VALUES clause. It was because QueryInfo failed to parse the prepared statement properly in that case. With this fix, the parser of VALUES clauses are improved, so that Connector/J is now able to recognize rewritability of statements that contain function calls or multiple VALUES lists, and it also handles well the cases when the string "value" is part of a table name, a column name, or a keyword."