From 794911a27a14ea83eda054cf34d94b43191aa19e Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Fri, 13 Dec 2019 11:23:29 +0100 Subject: tokudb: disable check_huge_pages_in_practice() crashes on Debian 10 --- storage/tokudb/ft-index/portability/huge_page_detection.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/storage/tokudb/ft-index/portability/huge_page_detection.cc b/storage/tokudb/ft-index/portability/huge_page_detection.cc index ca428987486..ea0eb568e4c 100644 --- a/storage/tokudb/ft-index/portability/huge_page_detection.cc +++ b/storage/tokudb/ft-index/portability/huge_page_detection.cc @@ -120,6 +120,7 @@ static bool check_huge_pages_config_file(const char *fname) static bool check_huge_pages_in_practice(void) // Effect: Return true if huge pages appear to be defined in practice. { + return false; // disabled, doesn't seem to work on newest distros #ifdef HAVE_MINCORE #ifdef HAVE_MAP_ANONYMOUS const int map_anonymous = MAP_ANONYMOUS; -- cgit v1.2.1