summaryrefslogtreecommitdiff
path: root/storage/innobase/include/page0page.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-11-04 08:52:05 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2019-11-04 09:25:26 +0200
commit64a02e4fa27f4cae8aa0671448698bd43aa02504 (patch)
tree55aee6a968febb105dbaab6f4c1486185ebd7df8 /storage/innobase/include/page0page.h
parent9d1bbdc56c54fb27c3d42a4183ef7de1d43e1496 (diff)
downloadmariadb-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/include/page0page.h')
-rw-r--r--storage/innobase/include/page0page.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/innobase/include/page0page.h b/storage/innobase/include/page0page.h
index 0af12d4b112..95fc31d6c49 100644
--- a/storage/innobase/include/page0page.h
+++ b/storage/innobase/include/page0page.h
@@ -1137,15 +1137,15 @@ page_move_rec_list_start(
/**********************************************************//**
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 */