diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-12-02 18:50:05 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-12-03 11:05:18 +0200 |
commit | 504823bcce5926bd5a20b8b8f202ed479ff6d750 (patch) | |
tree | 00d33728a19768899cdb5f320474a5e71dbcf2c2 /storage/innobase/include | |
parent | 57444a3b3086e96272cf10c3749c5ddb5f990492 (diff) | |
download | mariadb-git-504823bcce5926bd5a20b8b8f202ed479ff6d750.tar.gz |
MDEV-21174: Cleanup MLOG_PAGE_CREATE
page_create_write_log(), mlog_write_initial_log_record():
Merge to the only caller, and use
mlog_write_initial_log_record_low() for writing the log record.
Diffstat (limited to 'storage/innobase/include')
-rw-r--r-- | storage/innobase/include/mtr0log.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/storage/innobase/include/mtr0log.h b/storage/innobase/include/mtr0log.h index 9fc19673230..6ebf834456c 100644 --- a/storage/innobase/include/mtr0log.h +++ b/storage/innobase/include/mtr0log.h @@ -90,17 +90,6 @@ mlog_memset(buf_block_t* b, ulint ofs, ulint len, byte val, mtr_t* mtr); void mlog_memset(byte* b, ulint len, byte val, mtr_t* mtr); /********************************************************//** -Writes initial part of a log record consisting of one-byte item -type and four-byte space and page numbers. */ -void -mlog_write_initial_log_record( -/*==========================*/ - const byte* ptr, /*!< in: pointer to (inside) a buffer - frame holding the file page where - modification is made */ - mlog_id_t type, /*!< in: log item type: MLOG_1BYTE, ... */ - mtr_t* mtr); /*!< in: mini-transaction handle */ -/********************************************************//** Catenates 1 - 4 bytes to the mtr log. The value is not compressed. */ UNIV_INLINE void @@ -195,7 +184,7 @@ mlog_write_initial_log_record_fast( been opened */ mtr_t* mtr); /*!< in: mtr */ /********************************************************//** -Parses an initial log record written by mlog_write_initial_log_record. +Parses an initial log record written by mlog_write_initial_log_record_low(). @return parsed record end, NULL if not a complete record */ const byte* mlog_parse_initial_log_record( |