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

Method getCurrentPage

src/jrd/CryptoManager.cpp:1381–1391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1379 }
1380
1381 ULONG CryptoManager::getCurrentPage(thread_db* tdbb) const
1382 {
1383 if (!process)
1384 return 0;
1385
1386 if (currentPage)
1387 return currentPage;
1388
1389 CchHdr hdr(tdbb, LCK_read);
1390 return hdr->hdr_crypt_page;
1391 }
1392
1393 ULONG CryptoManager::getLastPage(thread_db* tdbb)
1394 {

Callers 1

putDatabaseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected