Commit 4b42fa3c authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-14425: Remove the unused function mtr_write_log()

This amends commit 37e7bde1
parent 1312b4eb
......@@ -104,12 +104,6 @@ savepoint. */
@return true if the mtr is dirtying a clean page. */
#define mtr_block_dirtied(b) mtr_t::is_block_dirtied((b))
/** Append records to the system-wide redo log buffer.
@param[in] log redo log records */
void
mtr_write_log(
const mtr_buf_t* log);
/** Mini-transaction memo stack slot. */
struct mtr_memo_slot_t {
/** pointer to the object */
......
......@@ -351,25 +351,6 @@ struct mtr_write_log_t {
}
};
/** Append records to the system-wide redo log buffer.
@param[in] log redo log records */
void
mtr_write_log(
const mtr_buf_t* log)
{
const ulint len = log->size();
mtr_write_log_t write_log;
ut_ad(!recv_no_log_write);
DBUG_PRINT("ib_log",
(ULINTPF " extra bytes written at " LSN_PF,
len, log_sys.lsn));
log_reserve_and_open(len);
log->for_each_block(write_log);
log_close();
}
/** Start a mini-transaction. */
void mtr_t::start()
{
......
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