Skip to content

Commit 8f361a8

Browse files
committed
ReadView::snapshot(): Define inline
1 parent 93d495f commit 8f361a8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

storage/innobase/include/read0types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ class ReadView
195195
196196
@param[in,out] trx transaction
197197
*/
198-
void snapshot(trx_t *trx);
198+
inline void snapshot(trx_t *trx);
199199

200200

201201
/**

storage/innobase/read/read0read.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ will mark their views as closed but not actually free their views.
180180
181181
@param[in,out] trx transaction
182182
*/
183-
void ReadView::snapshot(trx_t *trx)
183+
inline void ReadView::snapshot(trx_t *trx)
184184
{
185185
trx_sys.snapshot_ids(trx, &m_ids, &m_low_limit_id, &m_low_limit_no);
186186
std::sort(m_ids.begin(), m_ids.end());

0 commit comments

Comments
 (0)