diff options
author | Sergei Golubchik <serg@mariadb.org> | 2019-12-13 11:23:29 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2019-12-13 11:24:23 +0100 |
commit | 794911a27a14ea83eda054cf34d94b43191aa19e (patch) | |
tree | ada3eac4643cc44c9befa219616491e2c6633647 /storage | |
parent | 91c3d99804e4154b87440712f8c6a5fee04c3dd0 (diff) | |
download | mariadb-git-794911a27a14ea83eda054cf34d94b43191aa19e.tar.gz |
tokudb: disable check_huge_pages_in_practice()
crashes on Debian 10
Diffstat (limited to 'storage')
-rw-r--r-- | storage/tokudb/ft-index/portability/huge_page_detection.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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; |