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

Method commit

lib_acl_cpp/src/db/db_mysql.cpp:1010–1018  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1008}
1009
1010bool db_mysql::commit(void)
1011{
1012 const char* sql = "commit";
1013 if (!sql_update(sql)) {
1014 logger_error("%s error: %s", sql, get_error());
1015 return false;
1016 }
1017 return true;
1018}
1019
1020bool db_mysql::rollback(void)
1021{

Callers

nothing calls this directly

Calls 1

get_errorFunction · 0.50

Tested by

no test coverage detected