diff --git a/storage/innobase/buf/buf0buf.cc b/storage/innobase/buf/buf0buf.cc index 90d0011b675..e4332fc3f32 100644 --- a/storage/innobase/buf/buf0buf.cc +++ b/storage/innobase/buf/buf0buf.cc @@ -1182,6 +1182,7 @@ in the event that you want all of the memory to be dumped to a core file. Returns number of errors found in madvise calls. */ +MY_ATTRIBUTE((used)) int buf_madvise_do_dump() {