Bug #80026 | "The statement (1) has no open cursor" pops sometimes with prepared+query_cache | ||
---|---|---|---|
Submitted: | 18 Jan 2016 9:29 | Modified: | 31 May 2016 14:41 |
Reporter: | Andrii Nikitin | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Query Cache | Severity: | S2 (Serious) |
Version: | 5.6.27 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[18 Jan 2016 9:29]
Andrii Nikitin
[18 Jan 2016 9:31]
Andrii Nikitin
testcase
Attachment: a.cpp (text/x-c++src), 3.60 KiB.
[31 May 2016 14:41]
Paul DuBois
Posted by developer: Noted in 5.6.32, 5.7.14 changelogs. With the query cache enabled, executing a prepared statement with CURSOR_TYPE_READ_ONLY and then again with CURSOR_TYPE_NO_CURSOR caused the server to return an error.