mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
MDEV-14425: Remove the unused function mtr_write_log()
This amends commit 37e7bde12a
This commit is contained in:
parent
1312b4ebb6
commit
4b42fa3ce3
2 changed files with 0 additions and 25 deletions
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue