Redundant FLUSH QUERY CACHE calls in percona_query_with_comments_clear.inc

Bug #1160795 reported by Laurynas Biveinis
6
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.

description: updated
tags: added: query-cache-extended
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-1984

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.