mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 10:14:19 +01:00
MVCC::view_close(): Correct comments
This commit is contained in:
parent
cbb85f0d21
commit
b2775ae855
2 changed files with 7 additions and 8 deletions
|
@ -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);
|
||||
|
||||
/**
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue