MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / beginReadTransaction

Method beginReadTransaction

src/transaction/transaction_context.cpp:18–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16TransactionContext::~TransactionContext() = default;
17
18void TransactionContext::beginReadTransaction() {
19 std::unique_lock lck{mtx};
20 mode = TransactionMode::MANUAL;
21 beginTransactionInternal(TransactionType::READ_ONLY);
22}
23
24void TransactionContext::beginWriteTransaction() {
25 std::unique_lock lck{mtx};

Callers 3

updateTableNamesMethod · 0.80
printSchemaMethod · 0.80
getNextTuplesInternalMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected