[MDEV-16689] core-file should become a real server variable Created: 2018-07-04 Updated: 2020-08-25 Resolved: 2018-07-23 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Variables |
| Fix Version/s: | 10.1.35, 10.2.17, 10.3.9 |
| Type: | Task | Priority: | Critical |
| Reporter: | Hartmut Holzgraefe | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Issue Links: |
|
||||
| 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:
MariaDB 10.3:
|
| Comments |
| Comment by Hartmut Holzgraefe [ 2018-07-04 ] |
|
Found the upstream report: https://bugs.mysql.com/bug.php?id=56124 and upstream changeset: https://github.com/mysql/mysql-server/commit/e84d1634413c183eba1488269e357b3546f890e5 |
| Comment by Oleksandr Byelkin [ 2018-07-20 ] |
|
revision-id: 46b3b77167242d97069e197ffe2fef25d6e53170 (mariadb-10.1.34-28-g46b3b771672)
Port from mysql Bug#56124 — |
| Comment by Oleksandr Byelkin [ 2018-07-20 ] |
|
revision-id: a0d33dc6ef6f380fb5a2d166e75ed6fed2dfce9d (mariadb-10.1.34-28-ga0d33dc6ef6)
Mysql Bug#56124 bug analog fix using Sys_var_bit. |
| Comment by Oleksandr Byelkin [ 2018-07-23 ] |
|
got OK from Wlad |