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

Function create_sp

lua/sp.c:5289–5297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5287}
5288
5289static SP create_sp(char **err)
5290{
5291 SP sp = calloc(1, sizeof(struct stored_proc));
5292 if (create_sp_int(sp, err) != 0) {
5293 free(sp);
5294 return NULL;
5295 }
5296 return sp;
5297}
5298
5299static int cson_to_table(Lua, cson_value *);
5300static int cson_push_value(Lua lua, cson_value *v)

Callers 2

db_create_thread_intFunction · 0.85
setup_sp_intFunction · 0.85

Calls 3

callocFunction · 0.85
create_sp_intFunction · 0.85
freeFunction · 0.85

Tested by

no test coverage detected