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

Method begin_transaction

lib_acl_cpp/src/db/db_mysql.cpp:1000–1008  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

998}
999
1000bool db_mysql::begin_transaction(void)
1001{
1002 const char* sql = "start transaction";
1003 if (!sql_update(sql)) {
1004 logger_error("%s error: %s", sql, get_error());
1005 return false;
1006 }
1007 return true;
1008}
1009
1010bool db_mysql::commit(void)
1011{

Callers

nothing calls this directly

Calls 1

get_errorFunction · 0.50

Tested by

no test coverage detected