MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / BTR_find_leaf

Function BTR_find_leaf

src/jrd/btr.cpp:1303–1319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1301
1302
1303UCHAR* BTR_find_leaf(btree_page* bucket, temporary_key* key, UCHAR* value,
1304 USHORT* return_value, bool descending, int retrieval)
1305{
1306/**************************************
1307 *
1308 * B T R _ f i n d _ l e a f
1309 *
1310 **************************************
1311 *
1312 * Functional description
1313 * Locate and return a pointer to the insertion point.
1314 * If the key doesn't belong in this bucket, return NULL.
1315 * A flag indicates the index is descending.
1316 *
1317 **************************************/
1318 return find_node_start_point(bucket, key, value, return_value, descending, retrieval);
1319}
1320
1321
1322btree_page* BTR_find_page(thread_db* tdbb,

Callers 2

internalGetRecordMethod · 0.85
openStreamMethod · 0.85

Calls 1

find_node_start_pointFunction · 0.85

Tested by

no test coverage detected