diff options
author | unknown <marko@hundin.mysql.fi> | 2004-03-16 15:26:33 +0200 |
---|---|---|
committer | unknown <marko@hundin.mysql.fi> | 2004-03-16 15:26:33 +0200 |
commit | 8d2bb926fbe5431faf2ae768ecad6240954295fd (patch) | |
tree | 105b1ed86c0a21a62ca463518c45463b6b853ec3 /innobase | |
parent | 2bda791f27e9a045cdf37fffba8e7b52739157a2 (diff) | |
download | mariadb-git-8d2bb926fbe5431faf2ae768ecad6240954295fd.tar.gz |
InnoDB: Make btr_cur_unmark_extern_fields() a static function
innobase/btr/btr0cur.c:
Make btr_cur_unmark_extern_fields() a static function
innobase/include/btr0cur.h:
Remove btr_cur_unmark_extern_fields()
Diffstat (limited to 'innobase')
-rw-r--r-- | innobase/btr/btr0cur.c | 12 | ||||
-rw-r--r-- | innobase/include/btr0cur.h | 10 |
2 files changed, 11 insertions, 11 deletions
diff --git a/innobase/btr/btr0cur.c b/innobase/btr/btr0cur.c index 6e1794c2ff7..a9f92dbc181 100644 --- a/innobase/btr/btr0cur.c +++ b/innobase/btr/btr0cur.c @@ -66,6 +66,16 @@ this many index pages */ #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 the binary search has been performed. */ static @@ -2922,7 +2932,7 @@ btr_cur_mark_dtuple_inherited_extern( 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( /*=========================*/ diff --git a/innobase/include/btr0cur.h b/innobase/include/btr0cur.h index 221f479df40..f1334656d53 100644 --- a/innobase/include/btr0cur.h +++ b/innobase/include/btr0cur.h @@ -435,16 +435,6 @@ btr_cur_mark_dtuple_inherited_extern( ulint n_ext_vec, /* in: number of elements in ext_vec */ 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. */ void |