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 22
33Copyright (c) 2005, 2013, Oracle and/or its affiliates. All Rights Reserved.
44Copyright (c) 2012, Facebook Inc.
5+ Copyright (c) 2017, MariaDB Corporation.
56
67This program is free software; you can redistribute it and/or modify it under
78the terms of the GNU General Public License as published by the Free Software
@@ -172,7 +173,8 @@ page_zip_rec_needs_ext(
172173ignored if zip_size == 0 */
173174ulint zip_size) /*!< in: compressed page size in bytes, or 0 */
174175{
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));
176178ut_ad(ut_is_2pow(zip_size));
177179ut_ad(comp || !zip_size);
178180
Original file line number Diff line number Diff line change 22
33Copyright (c) 2005, 2013, Oracle and/or its affiliates. All Rights Reserved.
44Copyright (c) 2012, Facebook Inc.
5+ Copyright (c) 2017, MariaDB Corporation.
56
67This program is free software; you can redistribute it and/or modify it under
78the terms of the GNU General Public License as published by the Free Software
@@ -172,7 +173,8 @@ page_zip_rec_needs_ext(
172173ignored if zip_size == 0 */
173174ulint zip_size) /*!< in: compressed page size in bytes, or 0 */
174175{
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));
176178ut_ad(ut_is_2pow(zip_size));
177179ut_ad(comp || !zip_size);
178180
You can’t perform that action at this time.
0 commit comments