Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
b2775ae8
Commit
b2775ae8
authored
Sep 02, 2019
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVCC::view_close(): Correct comments
parent
cbb85f0d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
storage/innobase/include/read0read.h
storage/innobase/include/read0read.h
+4
-3
storage/innobase/read/read0read.cc
storage/innobase/read/read0read.cc
+3
-5
No files found.
storage/innobase/include/read0read.h
View file @
b2775ae8
/*****************************************************************************
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()
.
@para
m 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
);
/**
...
...
storage/innobase/read/read0read.cc
View file @
b2775ae8
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment