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

Method setDatabase

src/jrd/jrd.cpp:9192–9199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9190// begin thread_db methods
9191
9192void thread_db::setDatabase(Database* val)
9193{
9194 if (database != val)
9195 {
9196 database = val;
9197 dbbStat = val ? &val->dbb_stats : RuntimeStatistics::getDummy();
9198 }
9199}
9200
9201void thread_db::setAttachment(Attachment* val)
9202{

Callers 10

validateHandleFunction · 0.80
AttachmentHolderMethod · 0.80
internalDropDatabaseMethod · 0.80
initAttachmentFunction · 0.80
JRD_shutdown_databaseFunction · 0.80
shutdownAttachmentsFunction · 0.80
ThreadContextHolderMethod · 0.80
cache_readerMethod · 0.80
initMethod · 0.80
initMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected