Bug #34911 FLUSH STATUS doesn't flush what it should
Submitted: 27 Feb 2008 22:23 Modified: 28 Feb 2008 5:50
Reporter: Sergei Golubchik Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: General Severity:S3 (Non-critical)
Version:5.1+ OS:Any
Assigned to: Geir H√łydalsvik CPU Architecture:Any
Triage: Triaged: D3 (Medium)

[27 Feb 2008 22:23] Sergei Golubchik
Description:
a bug in reset_status_vars().

It only resets SHOW_LONG variables. It also needs to reset SHOW_LONGLONG and it needs to reset recursively SHOW_ARRAY.

Also, "#define SHOW_FUNC SHOW_FUNC" in sql_plugin.h should be "#define SHOW_DOUBLE SHOW_DOUBLE"

How to repeat:
.
[28 Feb 2008 5:50] Valeriy Kravchuk
Thank you for a bug report.
[31 Aug 2009 17:03] Sergei Golubchik
"also" part is already fixed