MDEV-14425: Remove the unused function mtr_write_log()

This amends commit 37e7bde12a
This commit is contained in:
Marko Mäkelä 2020-03-05 08:50:13 +02:00
parent 1312b4ebb6
commit 4b42fa3ce3
2 changed files with 0 additions and 25 deletions

View file

@ -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 */

View file

@ -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()
{