diff options
Diffstat (limited to 'storage/innobase/include/page0zip.ic')
-rw-r--r-- | storage/innobase/include/page0zip.ic | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/storage/innobase/include/page0zip.ic b/storage/innobase/include/page0zip.ic index 8df7078594e..23a14b5947c 100644 --- a/storage/innobase/include/page0zip.ic +++ b/storage/innobase/include/page0zip.ic @@ -154,6 +154,9 @@ tablespace is not compressed inline bool page_zip_rec_needs_ext(ulint rec_size, ulint comp, ulint n_fields, ulint zip_size) { + /* FIXME: row size check is this function seems to be the most correct. + Put it in a separate function and use in more places of InnoDB */ + ut_ad(rec_size > ulint(comp ? REC_N_NEW_EXTRA_BYTES : REC_N_OLD_EXTRA_BYTES)); ut_ad(comp || !zip_size); |