File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
Copyright (c) 2005, 2013, Oracle and/or its affiliates. All Rights Reserved.
4
4
Copyright (c) 2012, Facebook Inc.
5
+ Copyright (c) 2017, MariaDB Corporation.
5
6
6
7
This program is free software; you can redistribute it and/or modify it under
7
8
the terms of the GNU General Public License as published by the Free Software
@@ -172,7 +173,8 @@ page_zip_rec_needs_ext(
172
173
ignored if zip_size == 0 */
173
174
ulint zip_size) /*!< in: compressed page size in bytes, or 0 */
174
175
{
175
- ut_ad(rec_size > comp ? REC_N_NEW_EXTRA_BYTES : REC_N_OLD_EXTRA_BYTES);
176
+ ut_ad(rec_size
177
+ > (comp ? REC_N_NEW_EXTRA_BYTES : REC_N_OLD_EXTRA_BYTES));
176
178
ut_ad(ut_is_2pow(zip_size));
177
179
ut_ad(comp || !zip_size);
178
180
Original file line number Diff line number Diff line change 2
2
3
3
Copyright (c) 2005, 2013, Oracle and/or its affiliates. All Rights Reserved.
4
4
Copyright (c) 2012, Facebook Inc.
5
+ Copyright (c) 2017, MariaDB Corporation.
5
6
6
7
This program is free software; you can redistribute it and/or modify it under
7
8
the terms of the GNU General Public License as published by the Free Software
@@ -172,7 +173,8 @@ page_zip_rec_needs_ext(
172
173
ignored if zip_size == 0 */
173
174
ulint zip_size) /*!< in: compressed page size in bytes, or 0 */
174
175
{
175
- ut_ad(rec_size > comp ? REC_N_NEW_EXTRA_BYTES : REC_N_OLD_EXTRA_BYTES);
176
+ ut_ad(rec_size
177
+ > (comp ? REC_N_NEW_EXTRA_BYTES : REC_N_OLD_EXTRA_BYTES));
176
178
ut_ad(ut_is_2pow(zip_size));
177
179
ut_ad(comp || !zip_size);
178
180
You can’t perform that action at this time.
0 commit comments