From 64a02e4fa27f4cae8aa0671448698bd43aa02504 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Mon, 4 Nov 2019 08:52:05 +0200 Subject: 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. --- storage/innobase/page/page0page.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'storage/innobase/page/page0page.cc') 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 */ -- cgit v1.2.1