diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2020-04-05 17:32:06 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2020-04-05 17:32:06 +0400 |
commit | 22811a1c60e6d11ff636e5ec065f08754ac36929 (patch) | |
tree | 7c1b8e325cc3e6e305ce30071645ce4c1c6ff33b /mysys | |
parent | 113e227e26a0a9678083fc129fba887c7beecffe (diff) | |
download | mariadb-git-22811a1c60e6d11ff636e5ec065f08754ac36929.tar.gz |
Fixed build failure
Diffstat (limited to 'mysys')
-rw-r--r-- | mysys/my_largepage.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mysys/my_largepage.c b/mysys/my_largepage.c index 6e86eaf325a..158dd1ed773 100644 --- a/mysys/my_largepage.c +++ b/mysys/my_largepage.c @@ -277,11 +277,11 @@ MAP_ANON but MAP_ANONYMOUS is marked "for compatibility" */ uchar* my_large_malloc(size_t *size, myf my_flags) { uchar* ptr= NULL; - DBUG_ENTER("my_large_malloc"); #ifdef _WIN32 DWORD alloc_type= MEM_COMMIT | MEM_RESERVE; size_t orig_size= *size; + DBUG_ENTER("my_large_malloc"); if (my_use_large_pages) { @@ -314,6 +314,7 @@ uchar* my_large_malloc(size_t *size, myf my_flags) int page_i= 0; size_t large_page_size= 0; size_t aligned_size= *size; + DBUG_ENTER("my_large_malloc"); while (1) { |