Commit 8f361a83 authored by Marko Mäkelä's avatar Marko Mäkelä

ReadView::snapshot(): Define inline

parent 93d495f3
...@@ -195,7 +195,7 @@ class ReadView ...@@ -195,7 +195,7 @@ class ReadView
@param[in,out] trx transaction @param[in,out] trx transaction
*/ */
void snapshot(trx_t *trx); inline void snapshot(trx_t *trx);
/** /**
......
...@@ -180,7 +180,7 @@ will mark their views as closed but not actually free their views. ...@@ -180,7 +180,7 @@ will mark their views as closed but not actually free their views.
@param[in,out] trx transaction @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); trx_sys.snapshot_ids(trx, &m_ids, &m_low_limit_id, &m_low_limit_no);
std::sort(m_ids.begin(), m_ids.end()); std::sort(m_ids.begin(), m_ids.end());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment