MCPcopy Create free account
hub / github.com/bcndev/bytecoin / commit_txn

Method commit_txn

src/platform/DBsqlite3.cpp:49–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 " for db path=" + full_path);
48}
49void sqlite::Dbi::commit_txn() {
50 exec("COMMIT TRANSACTION", "saving database data failed. Disk unplugged or out of disk space?");
51}
52void sqlite::Dbi::begin_txn() {
53 exec("BEGIN IMMEDIATE TRANSACTION",
54 "modifying database impossible. Disk read-only or database used by other running instance?");

Callers 2

commit_db_txnMethod · 0.80
commitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected