Commit b2775ae8 authored by Marko Mäkelä's avatar Marko Mäkelä

MVCC::view_close(): Correct comments

parent cbb85f0d
/*****************************************************************************
Copyright (c) 1997, 2013, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2019, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
......@@ -49,9 +50,9 @@ class MVCC {
void view_open(ReadView*& view, trx_t* trx);
/**
Close a view created by the above function.
@para view view allocated by trx_open.
@param own_mutex true if caller owns trx_sys_t::mutex */
Close a view created by view_open().
@param view view allocated by view_open()
@param own_mutex whether the caller owns trx_sys_t::mutex */
void view_close(ReadView*& view, bool own_mutex);
/**
......
......@@ -740,11 +740,9 @@ MVCC::size() const
/**
Close a view created by the above function.
@para view view allocated by trx_open.
@param own_mutex true if caller owns trx_sys_t::mutex */
void
MVCC::view_close(ReadView*& view, bool own_mutex)
@param view view allocated by view_open()
@param own_mutex whether the caller owns trx_sys_t::mutex */
void MVCC::view_close(ReadView*& view, bool own_mutex)
{
uintptr_t p = reinterpret_cast<uintptr_t>(view);
......
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