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

Function find_array

src/jrd/blb.cpp:2307–2330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2305
2306
2307static ArrayField* find_array(jrd_tra* transaction, const bid* blob_id)
2308{
2309/**************************************
2310 *
2311 * f i n d _ a r r a y
2312 *
2313 **************************************
2314 *
2315 * Functional description
2316 * Find array from temporary blob id.
2317 *
2318 **************************************/
2319 fb_assert(!transaction->tra_outer);
2320 ArrayField* array = transaction->tra_arrays;
2321
2322 for (; array; array = array->arr_next)
2323 {
2324 if (array->arr_temp_id == blob_id->bid_temp_id()) {
2325 break;
2326 }
2327 }
2328
2329 return array;
2330}
2331
2332
2333static BlobFilter* find_filter(thread_db* tdbb, SSHORT from, SSHORT to)

Callers 3

moveMethod · 0.85
put_sliceMethod · 0.85
store_arrayFunction · 0.85

Calls 1

bid_temp_idMethod · 0.45

Tested by

no test coverage detected