mirror of
https://github.com/MariaDB/server.git
synced 2025-12-10 19:44:09 +03:00
ReadView::snapshot(): Define inline
This commit is contained in:
@@ -195,7 +195,7 @@ loop:
|
|||||||
|
|
||||||
@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.
|
|||||||
|
|
||||||
@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());
|
||||||
|
|||||||
Reference in New Issue
Block a user