mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 15:45:33 +02:00
Applying InnoDB snapshot
Detailed revision comments: r6768 | vasil | 2010-03-02 18:20:48 +0200 (Tue, 02 Mar 2010) | 5 lines branches/zip: Add a NOTE to the comment of btr_node_ptr_get_child_page_no() to prevent mysterious bugs.
This commit is contained in:
parent
c8be9b8f98
commit
c65a7413c8
2 changed files with 8 additions and 0 deletions
|
|
@ -193,6 +193,10 @@ btr_leaf_page_release(
|
|||
mtr_t* mtr); /*!< in: mtr */
|
||||
/**************************************************************//**
|
||||
Gets the child node file address in a node pointer.
|
||||
NOTE: the offsets array must contain all offsets for the record since
|
||||
we read the last field according to offsets and assume that it contains
|
||||
the child page number. In other words offsets must have been retrieved
|
||||
with rec_get_offsets(n_fields=ULINT_UNDEFINED).
|
||||
@return child node address */
|
||||
UNIV_INLINE
|
||||
ulint
|
||||
|
|
|
|||
|
|
@ -255,6 +255,10 @@ btr_page_set_prev(
|
|||
|
||||
/**************************************************************//**
|
||||
Gets the child node file address in a node pointer.
|
||||
NOTE: the offsets array must contain all offsets for the record since
|
||||
we read the last field according to offsets and assume that it contains
|
||||
the child page number. In other words offsets must have been retrieved
|
||||
with rec_get_offsets(n_fields=ULINT_UNDEFINED).
|
||||
@return child node address */
|
||||
UNIV_INLINE
|
||||
ulint
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue