mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
Fix compilation on gcc 11.2.0
It is used in the out-of date Ubuntu 21.10 Impish.
This commit is contained in:
parent
fb72dfbf7f
commit
6c196090c8
1 changed files with 2 additions and 2 deletions
|
@ -242,9 +242,9 @@ enum rec_leaf_format {
|
|||
REC_LEAF_INSTANT
|
||||
};
|
||||
|
||||
#if defined __GNUC__ && !defined __clang__ && __GNUC__ < 11
|
||||
#if defined __GNUC__ && !defined __clang__ && __GNUC__ < 12
|
||||
# pragma GCC diagnostic push
|
||||
# pragma GCC diagnostic ignored "-Wconversion" /* GCC 5 to 10 need this */
|
||||
# pragma GCC diagnostic ignored "-Wconversion" /* GCC 5 to 11 need this */
|
||||
#endif
|
||||
/** Determine the offset to each field in a leaf-page record
|
||||
in ROW_FORMAT=COMPACT,DYNAMIC,COMPRESSED.
|
||||
|
|
Loading…
Reference in a new issue