MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / initialize

Method initialize

src/db.cpp:2597–2604  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2595}
2596
2597void redisDbPersistentData::initialize()
2598{
2599 m_pdbSnapshot = nullptr;
2600 m_pdict = dictCreate(&dbDictType,this);
2601 m_pdictTombstone = dictCreate(&dbTombstoneDictType,this);
2602 m_fAllChanged = 0;
2603 m_fTrackingChanges = 0;
2604}
2605
2606void redisDbPersistentData::setStorageProvider(StorageCache *pstorage)
2607{

Callers 2

initServerFunction · 0.45
debugCommandFunction · 0.45

Calls 2

listCreateFunction · 0.85
dictCreateFunction · 0.70

Tested by

no test coverage detected