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

Method begin_transaction

lib_acl_cpp/src/db/db_pgsql.cpp:662–670  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

660}
661
662bool db_pgsql::begin_transaction(void)
663{
664 const char* sql = "start transaction";
665 if (!sql_update(sql)) {
666 logger_error("%s error: %s", sql, get_error());
667 return false;
668 }
669 return true;
670}
671
672bool db_pgsql::commit(void)
673{

Callers 2

dbaddMethod · 0.45
tbl_insertFunction · 0.45

Calls 1

get_errorFunction · 0.50

Tested by

no test coverage detected