diff options
Diffstat (limited to 'storage/innobase/include/page0cur.ic')
-rw-r--r-- | storage/innobase/include/page0cur.ic | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/storage/innobase/include/page0cur.ic b/storage/innobase/include/page0cur.ic index 528b3af9352..3be67766374 100644 --- a/storage/innobase/include/page0cur.ic +++ b/storage/innobase/include/page0cur.ic @@ -1,7 +1,7 @@ /***************************************************************************** Copyright (c) 1994, 2014, Oracle and/or its affiliates. All Rights Reserved. -Copyright (c) 2015, 2018, MariaDB Corporation. +Copyright (c) 2015, 2019, MariaDB Corporation. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -277,11 +277,11 @@ page_cur_tuple_insert( ULINT_UNDEFINED, heap); ut_ad(size == rec_offs_size(*offsets)); - if (buf_block_get_page_zip(cursor->block)) { + if (is_buf_block_get_page_zip(cursor->block)) { rec = page_cur_insert_rec_zip( cursor, index, rec, *offsets, mtr); } else { - rec = page_cur_insert_rec_low(cursor->rec, + rec = page_cur_insert_rec_low(cursor, index, rec, *offsets, mtr); } @@ -311,11 +311,11 @@ page_cur_rec_insert( offset_t* offsets,/*!< in/out: rec_get_offsets(rec, index) */ mtr_t* mtr) /*!< in: mini-transaction handle, or NULL */ { - if (buf_block_get_page_zip(cursor->block)) { + if (is_buf_block_get_page_zip(cursor->block)) { return(page_cur_insert_rec_zip( cursor, index, rec, offsets, mtr)); } else { - return(page_cur_insert_rec_low(cursor->rec, - index, rec, offsets, mtr)); + return(page_cur_insert_rec_low( + cursor, index, rec, offsets, mtr)); } } |