Bug #48137 | procedure analyse() leaks memory when returning null | ||
---|---|---|---|
Submitted: | 19 Oct 2009 4:24 | Modified: | 26 Apr 2011 15:50 |
Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: General | Severity: | S2 (Serious) |
Version: | 5.0.85,5.1.39,5.1.41, 5.5.8 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | Leak, memory leak, PROCEDURE ANALYSE |
[19 Oct 2009 4:24]
Shane Bester
[10 Nov 2010 2:10]
MySQL Verification Team
I disagree with the affort put into fixing this bug. Memory leaks are not a joking matter. They are near impossible to debug in live environments [unlike crashes, which are fairly basic]. The use-case is legitimate SQL requiring minimal select privs. The fix is likely trivial here.
[26 Apr 2011 15:50]
Paul DuBois
Noted in 5.1.58, 5.5.13, 5.6.3 changelogs. PROCEDURE ANALYZE() could leak memory for NULL results, and could return incorrect results if used with a LIMIT clause. CHANGESET - http://lists.mysql.com/commits/135391