Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-16689

core-file should become a real server variable

    XMLWordPrintable

    Details

      Description

      The actual setting of core-file can't be detected at run time (unless applying some gdb magic maybe). So it is not possible to tell whether a mysqld process may write a core dump or not, or to identify servers where core-file may be missing from the configuration.

      This was the same in MySQL until MySQL 5.5.x, but in MySQL 5.6 and above the value of core-file is exposed in SHOW VARIABLES output.

      MySQL 5.6:

      mysql> show variables like 'core_file';
      +---------------+-------+
      | Variable_name | Value |
      +---------------+-------+
      | core_file     | ON    |
      +---------------+-------+
      

      MariaDB 10.3:

      mysql> show variables like 'core_file';
      Empty set (0.00 sec)
      

        Attachments

          Activity

            People

            Assignee:
            sanja Oleksandr Byelkin
            Reporter:
            hholzgra Hartmut Holzgraefe
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: