Bug #109303 | Connector/J executeQuery fails for SQL with WITH clause: not produce result set | ||
---|---|---|---|
Submitted: | 7 Dec 2022 10:49 | Modified: | 7 Dec 2022 12:21 |
Reporter: | Andreas Hubold | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | Connector / J | Severity: | S2 (Serious) |
Version: | 8.0.31 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[7 Dec 2022 10:49]
Andreas Hubold
[7 Dec 2022 10:59]
Andreas Hubold
Sorry, there's a mistake in the description (I haven't found a way to edit it). The parentheses in the second example of working queries should be removed: "WITH RECURSIVE cte (id) AS (...) SELECT ... UNION SELECT ..." => PRODUCES_RESULT_SET
[7 Dec 2022 11:32]
MySQL Verification Team
Hello Andreas Hubold, Thank you for the report and feedback. Could you please provide exact test case(create table, sample dump of data and actual query) to reproduce the issue at our end? Thank you. This reminds me of Bug #108195 and most likely a duplicate of it. regards, Umesh
[7 Dec 2022 12:03]
Andreas Hubold
Thank you, and yes, this really is a duplicate. Feel free close this ticket. (I did a quick search before reporting, but didn't find the other one.)
[7 Dec 2022 12:21]
MySQL Verification Team
Thank you for confirming. Marking this as a duplicate for now. regards, Umesh