Skip to content

Commit c47069e

Browse files
committed
MDEV-28313 InnoDB transactions are not aligned at cache lines (postfix)
aarch64 RHEL7 and Centos7 internal compiler error here, so we carry another pragma enchantment like buf0lru.cc and row0ins.cc.
1 parent b8398ee commit c47069e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

storage/innobase/row/row0vers.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,6 +1211,10 @@ row_vers_build_for_consistent_read(
12111211
return(err);
12121212
}
12131213

1214+
#if defined __aarch64__&&defined __GNUC__&&__GNUC__==4&&!defined __clang__
1215+
/* Avoid GCC 4.8.5 internal compiler error "could not split insn". */
1216+
# pragma GCC optimize ("O0")
1217+
#endif
12141218
/*****************************************************************//**
12151219
Constructs the last committed version of a clustered index record,
12161220
which should be seen by a semi-consistent read. */

0 commit comments

Comments
 (0)