mirror of
https://github.com/MariaDB/server.git
synced 2025-01-28 01:34:17 +01:00
MDEV-16605 Always include buf_madvise_do_dump in binaries
The "used" attribute seems to do this ref: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#Common-Function-Attributes
This commit is contained in:
parent
7fb1f919d0
commit
182a6383cd
1 changed files with 1 additions and 0 deletions
|
@ -1182,6 +1182,7 @@ in the event that you want all of the memory to be dumped
|
||||||
to a core file.
|
to a core file.
|
||||||
|
|
||||||
Returns number of errors found in madvise calls. */
|
Returns number of errors found in madvise calls. */
|
||||||
|
MY_ATTRIBUTE((used))
|
||||||
int
|
int
|
||||||
buf_madvise_do_dump()
|
buf_madvise_do_dump()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue