Commit 20b6863c authored by marko@hundin.mysql.fi's avatar marko@hundin.mysql.fi

InnoDB: Make btr_cur_unmark_extern_fields() a static function

parent 38ae7128
...@@ -65,6 +65,16 @@ this many index pages */ ...@@ -65,6 +65,16 @@ this many index pages */
/*--------------------------------------*/ /*--------------------------------------*/
#define BTR_BLOB_HDR_SIZE 8 #define BTR_BLOB_HDR_SIZE 8
/***********************************************************************
Marks all extern fields in a record as owned by the record. This function
should be called if the delete mark of a record is removed: a not delete
marked record always owns all its extern fields. */
static
void
btr_cur_unmark_extern_fields(
/*=========================*/
rec_t* rec, /* in: record in a clustered index */
mtr_t* mtr); /* in: mtr */
/*********************************************************************** /***********************************************************************
Adds path information to the cursor for the current page, for which Adds path information to the cursor for the current page, for which
the binary search has been performed. */ the binary search has been performed. */
...@@ -2922,7 +2932,7 @@ btr_cur_mark_dtuple_inherited_extern( ...@@ -2922,7 +2932,7 @@ btr_cur_mark_dtuple_inherited_extern(
Marks all extern fields in a record as owned by the record. This function Marks all extern fields in a record as owned by the record. This function
should be called if the delete mark of a record is removed: a not delete should be called if the delete mark of a record is removed: a not delete
marked record always owns all its extern fields. */ marked record always owns all its extern fields. */
static
void void
btr_cur_unmark_extern_fields( btr_cur_unmark_extern_fields(
/*=========================*/ /*=========================*/
......
...@@ -435,16 +435,6 @@ btr_cur_mark_dtuple_inherited_extern( ...@@ -435,16 +435,6 @@ btr_cur_mark_dtuple_inherited_extern(
ulint n_ext_vec, /* in: number of elements in ext_vec */ ulint n_ext_vec, /* in: number of elements in ext_vec */
upd_t* update); /* in: update vector */ upd_t* update); /* in: update vector */
/*********************************************************************** /***********************************************************************
Marks all extern fields in a record as owned by the record. This function
should be called if the delete mark of a record is removed: a not delete
marked record always owns all its extern fields. */
void
btr_cur_unmark_extern_fields(
/*=========================*/
rec_t* rec, /* in: record in a clustered index */
mtr_t* mtr); /* in: mtr */
/***********************************************************************
Marks all extern fields in a dtuple as owned by the record. */ Marks all extern fields in a dtuple as owned by the record. */
void void
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment