Redundant FLUSH QUERY CACHE calls in percona_query_with_comments_clear.inc
Bug #1160795 reported by
Laurynas Biveinis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.1 |
Won't Fix
|
Low
|
Unassigned | |||
5.5 |
Triaged
|
Low
|
Unassigned | |||
5.6 |
Triaged
|
Low
|
Unassigned | |||
5.7 |
Triaged
|
Low
|
Unassigned |
Bug Description
The file reads, in its entirety
# Reset query cache variables.
flush query cache; # This crashed in some versions
flush query cache; # This crashed in some versions
reset query cache;
flush status;
Crashed how? What "some" versions? Why does it flush it twice? Why does it flush the cache before reseting it, not after? Why flush status in the end? The comment says "reset query cache variables", but the query cache itself is reset, not query_cache_size or other variables.
Bzr history search was unhelpful.
This bug report is to cleanup this file, or get rid of it.
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/ /jira.percona. com/browse/ PS-1984