Bug #109818 | rewritableAsMultiValues wrongfully set to false if columnname contains "value" | ||
---|---|---|---|
Submitted: | 27 Jan 2023 7:33 | Modified: | 30 Nov 2023 12:10 |
Reporter: | Gustaf Sörensen | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | Connector / J | Severity: | S3 (Non-critical) |
Version: | 8.0.32 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[27 Jan 2023 7:33]
Gustaf Sörensen
[30 Nov 2023 12:10]
MySQL Verification Team
Hello Gustaf Sörensen, Thank you for the report and feedback. Confirmed internally that this is duplicate of Bug #107577 and per change log this is fixed in 8.0.33. Thank you. Quoting from 8.0.33 change log: 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 is 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. (Bug #109377, Bug #34900156, Bug #107577, Bug #34325361) Please refer https://dev.mysql.com/doc/relnotes/connector-j/8.0/en/news-8-0-33.html regards, Umesh