summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-03-25 17:15:34 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2019-03-25 17:15:34 +0200
commit07096ada9b51fd48117c17659080b99104cc47c7 (patch)
tree61e076589d8efb68609fba3f7c83044f66f597ae
parent525e79b057ce1256aac9f8248b89d8d507ab22c3 (diff)
downloadmariadb-git-07096ada9b51fd48117c17659080b99104cc47c7.tar.gz
Fix the Windows build
btr_cur_compress_recommendation(): Backport a change from 10.3. This is a follow-up to commit 1bd98154791d77a44d2afc4bf6eb78f692fb7b5b.
-rw-r--r--storage/innobase/include/btr0cur.ic3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/innobase/include/btr0cur.ic b/storage/innobase/include/btr0cur.ic
index b1e59651a1d..68c73c48778 100644
--- a/storage/innobase/include/btr0cur.ic
+++ b/storage/innobase/include/btr0cur.ic
@@ -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)