summaryrefslogtreecommitdiff
path: root/storage/innobase/os
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2018-04-30 15:46:09 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2018-04-30 18:22:52 +0300
commit9801715cb0ce71ab248464bdcfad0cfa82e998e6 (patch)
tree14a196c02b6f081e74abeccc0a57c64ef5b65112 /storage/innobase/os
parent8cd55ae2a998626631a41c8d3a4ec38c59b4b607 (diff)
downloadmariadb-git-9801715cb0ce71ab248464bdcfad0cfa82e998e6.tar.gz
Use compile_time_assert() in InnoDB
Replace most use of #error. Some checks were impossible to evaluate in the preprocessor due to the use of named integer constants or enumerations.
Diffstat (limited to 'storage/innobase/os')
-rw-r--r--storage/innobase/os/os0file.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/storage/innobase/os/os0file.cc b/storage/innobase/os/os0file.cc
index 195059c160b..8dcf936532a 100644
--- a/storage/innobase/os/os0file.cc
+++ b/storage/innobase/os/os0file.cc
@@ -698,10 +698,6 @@ bool os_has_said_disk_full;
/** Default Zip compression level */
extern uint page_zip_level;
-#if DATA_TRX_ID_LEN > 6
-#error "COMPRESSION_ALGORITHM will not fit"
-#endif /* DATA_TRX_ID_LEN */
-
/** Validates the consistency of the aio system.
@return true if ok */
static