mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Fix the Windows build
btr_cur_compress_recommendation(): Backport a change from 10.3.
This is a follow-up to commit 1bd9815479
.
This commit is contained in:
parent
525e79b057
commit
07096ada9b
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1994, 2015, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 2018, MariaDB Corporation.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
|
@ -134,7 +135,7 @@ btr_cur_compress_recommendation(
|
|||
|
||||
page = btr_cur_get_page(cursor);
|
||||
|
||||
LIMIT_OPTIMISTIC_INSERT_DEBUG(page_get_n_recs(page) * 2,
|
||||
LIMIT_OPTIMISTIC_INSERT_DEBUG(page_get_n_recs(page) * 2U,
|
||||
return(FALSE));
|
||||
|
||||
if ((page_get_data_size(page)
|
||||
|
|
Loading…
Reference in a new issue