Commit ff8bf6e9 authored by Marko Mäkelä's avatar Marko Mäkelä

Define a mtr_t::start() wrapper inline.

parent c32dcae6
......@@ -239,7 +239,10 @@ struct mtr_t {
/** Start a mini-transaction.
@param sync true if it is a synchronous 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.
@param sync true if it is a synchronous mini-transaction
......
......@@ -491,15 +491,6 @@ mtr_write_log(
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.
@param sync true if it is a synchronous mini-transaction
@param read_only true if read only mini-transaction */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment