Skip to content

Commit 794911a

Browse files
committed
tokudb: disable check_huge_pages_in_practice()
crashes on Debian 10
1 parent 91c3d99 commit 794911a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

storage/tokudb/ft-index/portability/huge_page_detection.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ static bool check_huge_pages_config_file(const char *fname)
120120
static bool check_huge_pages_in_practice(void)
121121
// Effect: Return true if huge pages appear to be defined in practice.
122122
{
123+
return false; // disabled, doesn't seem to work on newest distros
123124
#ifdef HAVE_MINCORE
124125
#ifdef HAVE_MAP_ANONYMOUS
125126
const int map_anonymous = MAP_ANONYMOUS;

0 commit comments

Comments
 (0)