summaryrefslogtreecommitdiff
path: root/storage/innobase/read
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-09-02 12:31:29 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2019-09-04 09:42:38 +0300
commitb2775ae85578c0724256dd7cc6794d8b1fc36944 (patch)
tree9817a85ee56832bc7a3d471ddcdf34647a43518b /storage/innobase/read
parentcbb85f0d214a47a5e56c963a15cf70455425f39f (diff)
downloadmariadb-git-b2775ae85578c0724256dd7cc6794d8b1fc36944.tar.gz
MVCC::view_close(): Correct comments
Diffstat (limited to 'storage/innobase/read')
-rw-r--r--storage/innobase/read/read0read.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/storage/innobase/read/read0read.cc b/storage/innobase/read/read0read.cc
index 298d2fe4c43..3fd52d5d6dd 100644
--- a/storage/innobase/read/read0read.cc
+++ b/storage/innobase/read/read0read.cc
@@ -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);