diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-11-04 08:52:05 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-11-04 09:25:26 +0200 |
commit | 64a02e4fa27f4cae8aa0671448698bd43aa02504 (patch) | |
tree | 55aee6a968febb105dbaab6f4c1486185ebd7df8 /storage/innobase/page/page0page.cc | |
parent | 9d1bbdc56c54fb27c3d42a4183ef7de1d43e1496 (diff) | |
download | mariadb-git-64a02e4fa27f4cae8aa0671448698bd43aa02504.tar.gz |
MDEV-19586: Add const qualifiers
Except for fil_name_process(), which invokes os_normalize_path(),
the redo log record parser will not modify the redo log records.
Add const qualifiers accordingly.
Diffstat (limited to 'storage/innobase/page/page0page.cc')
-rw-r--r-- | storage/innobase/page/page0page.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/innobase/page/page0page.cc b/storage/innobase/page/page0page.cc index 3b12ebe2224..e6d32d416bb 100644 --- a/storage/innobase/page/page0page.cc +++ b/storage/innobase/page/page0page.cc @@ -914,15 +914,15 @@ page_delete_rec_list_write_log( /**********************************************************//** Parses a log record of a record list end or start deletion. @return end of log record or NULL */ -byte* +const byte* page_parse_delete_rec_list( /*=======================*/ mlog_id_t type, /*!< in: MLOG_LIST_END_DELETE, MLOG_LIST_START_DELETE, MLOG_COMP_LIST_END_DELETE or MLOG_COMP_LIST_START_DELETE */ - byte* ptr, /*!< in: buffer */ - byte* end_ptr,/*!< in: buffer end */ + const byte* ptr, /*!< in: buffer */ + const byte* end_ptr,/*!< in: buffer end */ buf_block_t* block, /*!< in/out: buffer block or NULL */ dict_index_t* index, /*!< in: record descriptor */ mtr_t* mtr) /*!< in: mtr or NULL */ |