Bug #56124 implement global variable to show current value of core-file
Submitted: 19 Aug 2010 17:40 Modified: 28 Feb 2011 16:26
Reporter: Shane Bester (Platinum Quality Contributor) Email Updates:
Status: Patch queued Impact on me:
None 
Category:MySQL Server Severity:S4 (Feature request)
Version:5.1.49, 5.5.5 OS:Any
Assigned to: Assigned Account CPU Architecture:Any
Triage: Needs Triage: D5 (Feature request)

[19 Aug 2010 17:40] Shane Bester
Description:
please expose the current value of my.cnf's core-file option in 'show global variables'

How to repeat:
try determine what the value currently is for a running server.

show global variables like '%core%';
select * from information_schema.global_variables where variable_name like '%core%';

Suggested fix:
expose opt_core in global variables.
[19 Aug 2010 17:46] Shane Bester
s/opt_core/if test_flags has the bit set for TEST_CORE_ON_SIGNAL/ :)
[10 Feb 2011 4:53] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/130940

3261 Tatiana Azundris Nurnberg	2011-02-10
      Bug#56124: implement global variable to show current value of core-file
      
      implements feature, adds tests.
     @ mysql-test/suite/sys_vars/r/core_file_basic.result
        test results
     @ mysql-test/suite/sys_vars/t/core_file_basic-master.opt
        turn on core-dumps
     @ mysql-test/suite/sys_vars/t/core_file_basic.test
        show that I/S and SHOW VARIABLES displays work
     @ sql/sys_vars.cc
        add a read-only display for whether core-dumps are enabled.
     @ sql/sys_vars.h
        implement a generic boolean display for any given bit in the test_flags global.
[10 Feb 2011 5:34] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/130942

3477 Tatiana Azundris Nurnberg	2011-02-10 [merge]
      merge and fixes for Bug#56124
[3 Mar 2011 12:09] Tatiana Azundris Nuernberg
correcting, pushed for 5.6.2-m5
[4 Jul 2018 16:26] Hartmut Holzgraefe
Has actually been fixed since 5.6.37 at least, and should be closed as fixed?