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

Function cacheBuffer

src/jrd/cch.cpp:3167–3176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3165
3166
3167static void cacheBuffer(Attachment* att, BufferDesc* bdb)
3168{
3169 if (att)
3170 {
3171 if (!att->att_bdb_cache)
3172 att->att_bdb_cache = FB_NEW_POOL(*att->att_pool) PageToBufferMap(*att->att_pool);
3173
3174 att->att_bdb_cache->put(bdb);
3175 }
3176}
3177
3178
3179static void check_precedence(thread_db* tdbb, WIN* window, PageNumber page)

Callers 1

get_bufferFunction · 0.85

Calls 2

PageToBufferMapClass · 0.70
putMethod · 0.45

Tested by

no test coverage detected