MCPcopy Create free account
hub / github.com/acl-dev/acl / begin_transaction

Method begin_transaction

lib_acl_cpp/src/db/db_sqlite.cpp:876–884  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

874}
875
876bool db_sqlite::begin_transaction(void)
877{
878 const char* sql = "begin transaction;";
879 if (sql_update(sql) == false) {
880 logger_error("%s error: %s", sql, get_error());
881 return false;
882 }
883 return true;
884}
885
886bool db_sqlite::commit(void)
887{

Callers

nothing calls this directly

Calls 1

get_errorFunction · 0.50

Tested by

no test coverage detected