MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / begin_sp

Function begin_sp

lua/sp.c:6783–6792  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6781}
6782
6783static int begin_sp(struct sqlclntstate *clnt, char **err)
6784{
6785 if (in_client_trans(clnt)) return 0;
6786
6787 const char *tmp;
6788 if ((tmp = begin_parent(clnt->sp->lua)) == NULL) return 0;
6789
6790 *err = strdup(tmp);
6791 return -8;
6792}
6793
6794static void rollback_sp(Lua L)
6795{

Callers 2

exec_thread_intFunction · 0.85
push_args_and_run_spFunction · 0.85

Calls 2

begin_parentFunction · 0.85
strdupFunction · 0.50

Tested by

no test coverage detected