From 8f361a83ccce1d97c0b7bfcd12e98b18bbccc44e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Tue, 6 Mar 2018 23:08:45 +0200 Subject: [PATCH] ReadView::snapshot(): Define inline --- storage/innobase/include/read0types.h | 2 +- storage/innobase/read/read0read.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/storage/innobase/include/read0types.h b/storage/innobase/include/read0types.h index 3a06190b61d..5ca9662b763 100644 --- a/storage/innobase/include/read0types.h +++ b/storage/innobase/include/read0types.h @@ -195,7 +195,7 @@ loop: @param[in,out] trx transaction */ - void snapshot(trx_t *trx); + inline void snapshot(trx_t *trx); /** diff --git a/storage/innobase/read/read0read.cc b/storage/innobase/read/read0read.cc index 5083236d359..e924feba498 100644 --- a/storage/innobase/read/read0read.cc +++ b/storage/innobase/read/read0read.cc @@ -180,7 +180,7 @@ will mark their views as closed but not actually free their views. @param[in,out] trx transaction */ -void ReadView::snapshot(trx_t *trx) +inline void ReadView::snapshot(trx_t *trx) { trx_sys.snapshot_ids(trx, &m_ids, &m_low_limit_id, &m_low_limit_no); std::sort(m_ids.begin(), m_ids.end());