Bug #67922 | queries with "comments" may prevents query_cache hits | ||
---|---|---|---|
Submitted: | 17 Dec 2012 13:01 | Modified: | 7 Jul 2017 9:08 |
Reporter: | xiaobin lin (OCA) | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | MySQL Server: Query Cache | Severity: | S3 (Non-critical) |
Version: | 5.1.68, 5.5.30, 5.7.1, 5.0.97 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | comments, query_cache |
[17 Dec 2012 13:01]
xiaobin lin
[17 Dec 2012 20:45]
Sveta Smirnova
Thank you for the report. Verified as described. In version 5.7.1 Qcache_inserts never increases.
[21 Dec 2012 13:48]
MySQL Verification Team
fyi, the reason the '!' is replaced with a ' ' is so that the version comment has no meaning on a slave...
[21 Dec 2012 13:59]
xiaobin lin
Shane Yes, it can be used to deal with the /*!VERSION */,when the VERSION is bigger than master-version, but smaller than slave-version.
[7 Jul 2017 9:08]
Erlend Dahl
MySQL will no longer invest in the query cache, see: http://mysqlserverteam.com/mysql-8-0-retiring-support-for-the-query-cache/