Bug #121482 Wrong result: with SQL_BUFFER_RESULT, HAVING COUNT(*) on a query without GROUP BY is evaluated as if COUNT(*) were 0
| Submitted: | 11 Oct 15:47 | Modified: | 13 Oct 5:25 |
|---|---|---|---|
| Reporter: | Ann Calla | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: Optimizer | Severity: | S2 (Serious) |
| Version: | 8.0.46, 8.4.11, 9.7.2, 26.07 | OS: | Ubuntu (24.04) |
| Assigned to: | CPU Architecture: | Any (x86_64) |
[11 Oct 15:47]
Ann Calla
[12 Oct 10:03]
Ann Calla
I found that this issue has already been reported as Bug #121336. This report (Bug #121482) is a duplicate of Bug #121336. Could you please close this report as a duplicate? Sorry for the duplicate submission, and thank you for your understanding.
[13 Oct 5:25]
Chaithra Marsur Gopala Reddy
Hi Ann Calla, Thank you for the test case. Verified as described.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.053 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.