MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / setAutoCommit

Method setAutoCommit

source/core/StarBTreeDatabase.cpp:80–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80void BTreeDatabase::setAutoCommit(bool autoCommit) {
81 WriteLocker writeLocker(m_lock);
82 m_autoCommit = autoCommit;
83 if (m_autoCommit)
84 doCommit();
85}
86
87IODevicePtr BTreeDatabase::ioDevice() const {
88 ReadLocker readLocker(m_lock);

Callers 5

openDatabaseMethod · 0.80
mainFunction · 0.80
testBTreeDatabaseFunction · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 2

testBTreeDatabaseFunction · 0.64
TESTFunction · 0.64