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

Function process_src

lua/sp.c:3059–3068  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3057}
3058
3059static int process_src(Lua L, const char *src, char **err)
3060{
3061 int rc;
3062 if ((rc = luaL_dostring(L, src)) != 0) {
3063 *err = strdup(lua_tostring(L, -1));
3064 return -1;
3065 }
3066 lua_settop(L, 0);
3067 return 0;
3068}
3069
3070static void drop_temp_tables(SP sp)
3071{

Callers 5

db_create_thread_intFunction · 0.85
lua_step_intFunction · 0.85
lua_func_intFunction · 0.85
exec_procedure_intFunction · 0.85
lua_stepFunction · 0.85

Calls 2

lua_settopFunction · 0.85
strdupFunction · 0.50

Tested by

no test coverage detected