summaryrefslogtreecommitdiff
path: root/storage/innobase/trx/trx0purge.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-10-05 13:38:53 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2021-10-05 13:38:53 +0300
commit822066acfcd5bbbb0c4dfbcec4f5fa3bd2bc1fe4 (patch)
tree211cf281a206d9614ae87dc2fb4cc805c1234e1e /storage/innobase/trx/trx0purge.cc
parentd5e606c60545eae8ab86d68e9d432c92450c3122 (diff)
parent4ca56e8348c7bd20cb7544a607b730d6038746b6 (diff)
downloadmariadb-git-822066acfcd5bbbb0c4dfbcec4f5fa3bd2bc1fe4.tar.gz
Merge 10.6 into 10.7
Diffstat (limited to 'storage/innobase/trx/trx0purge.cc')
-rw-r--r--storage/innobase/trx/trx0purge.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/storage/innobase/trx/trx0purge.cc b/storage/innobase/trx/trx0purge.cc
index b2d602ad5b5..77354a8da91 100644
--- a/storage/innobase/trx/trx0purge.cc
+++ b/storage/innobase/trx/trx0purge.cc
@@ -540,6 +540,12 @@ static void trx_purge_cleanse_purge_queue(const fil_space_t& space)
mysql_mutex_unlock(&purge_sys.pq_mutex);
}
+#if defined __GNUC__ && __GNUC__ == 4 && !defined __clang__
+# if defined __arm__ || defined __aarch64__
+/* Work around an internal compiler error in GCC 4.8.5 */
+__attribute__((optimize(0)))
+# endif
+#endif
/**
Removes unnecessary history data from rollback segments. NOTE that when this
function is called, the caller must not have any latches on undo log pages!