MVCC::view_close(): Correct comments

This commit is contained in:
Marko Mäkelä 2019-09-02 12:31:29 +03:00
parent cbb85f0d21
commit b2775ae855
2 changed files with 7 additions and 8 deletions

View file

@ -1,6 +1,7 @@
/*****************************************************************************
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 @@ public:
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);
/**

View file

@ -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);