Skip to content

Commit

Permalink
Fix compilation on gcc 11.2.0
Browse files Browse the repository at this point in the history
It is used in the out-of date Ubuntu 21.10 Impish.
  • Loading branch information
spetrunia committed Apr 13, 2023
1 parent fb72dfb commit 6c19609
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions storage/innobase/rem/rem0rec.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 6c19609

Please sign in to comment.