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
ff8bf6e9
Commit
ff8bf6e9
authored
Mar 10, 2017
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Define a mtr_t::start() wrapper inline.
parent
c32dcae6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
10 deletions
+4
-10
storage/innobase/include/mtr0mtr.h
storage/innobase/include/mtr0mtr.h
+4
-1
storage/innobase/mtr/mtr0mtr.cc
storage/innobase/mtr/mtr0mtr.cc
+0
-9
No files found.
storage/innobase/include/mtr0mtr.h
View file @
ff8bf6e9
...
@@ -239,7 +239,10 @@ struct mtr_t {
...
@@ -239,7 +239,10 @@ struct mtr_t {
/** Start a mini-transaction.
/** Start a mini-transaction.
@param sync true if it is a synchronous mini-transaction
@param sync true if it is a synchronous mini-transaction
@param read_only true if read only mini-transaction */
@param read_only true if read only mini-transaction */
void
start
(
bool
sync
=
true
,
bool
read_only
=
false
);
void
start
(
bool
sync
=
true
,
bool
read_only
=
false
)
{
start
(
NULL
,
sync
,
read_only
);
}
/** Start a mini-transaction.
/** Start a mini-transaction.
@param sync true if it is a synchronous mini-transaction
@param sync true if it is a synchronous mini-transaction
...
...
storage/innobase/mtr/mtr0mtr.cc
View file @
ff8bf6e9
...
@@ -491,15 +491,6 @@ mtr_write_log(
...
@@ -491,15 +491,6 @@ mtr_write_log(
log_close
();
log_close
();
}
}
/** Start a mini-transaction.
@param sync true if it is a synchronous mini-transaction
@param read_only true if read only mini-transaction */
void
mtr_t
::
start
(
bool
sync
,
bool
read_only
)
{
start
(
NULL
,
sync
,
read_only
);
}
/** Start a mini-transaction.
/** Start a mini-transaction.
@param sync true if it is a synchronous mini-transaction
@param sync true if it is a synchronous mini-transaction
@param read_only true if read only mini-transaction */
@param read_only true if read only mini-transaction */
...
...
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