diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-01-22 20:02:39 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-02-13 18:19:15 +0200 |
commit | 2e7a0842831bc4e9b7f3f2699e9c0ca049afa928 (patch) | |
tree | 5427867e67d708aebb3d5d4dfa9504ab8fd2a467 /storage/innobase/gis/gis0rtree.cc | |
parent | 498f84a87b5865b141e09bb8c7f733c38da927be (diff) | |
download | mariadb-git-2e7a0842831bc4e9b7f3f2699e9c0ca049afa928.tar.gz |
MDEV-21174: Remove mlog_write_initial_log_record_fast()
Pass buf_block_t* to all functions that write redo log.
Specifically, replace the parameters page,page_zip
with buf_block_t* block in page_zip_ functions.
Diffstat (limited to 'storage/innobase/gis/gis0rtree.cc')
-rw-r--r-- | storage/innobase/gis/gis0rtree.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/storage/innobase/gis/gis0rtree.cc b/storage/innobase/gis/gis0rtree.cc index f46314d2767..8cb47457415 100644 --- a/storage/innobase/gis/gis0rtree.cc +++ b/storage/innobase/gis/gis0rtree.cc @@ -298,8 +298,7 @@ rtr_update_mbr_field( ut_ad(rec_info & REC_INFO_MIN_REC_FLAG); #endif /* UNIV_DEBUG */ memcpy(rec, node_ptr->fields[0].data, DATA_MBR_LEN); - page_zip_write_rec(page_zip, rec, index, offsets, 0, - mtr); + page_zip_write_rec(block, rec, index, offsets, 0, mtr); } else { mtr->memcpy(block, page_offset(rec), node_ptr->fields[0].data, DATA_MBR_LEN); |