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

Function remove_tran_funcs

lua/sp.c:5100–5108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5098}
5099
5100static void remove_tran_funcs(Lua L)
5101{
5102 luaL_getmetatable(L, dbtypes.db);
5103 for (int i = 0; tran_funcs[i].name; ++i) {
5104 lua_pushnil(L);
5105 lua_setfield(L, -2, tran_funcs[i].name);
5106 }
5107 lua_pop(L, 1);
5108}
5109
5110static void add_thd_funcs(Lua L)
5111{

Callers 4

update_tran_funcsFunction · 0.85
lua_step_intFunction · 0.85
lua_func_intFunction · 0.85
exec_procedure_intFunction · 0.85

Calls 2

lua_pushnilFunction · 0.85
lua_setfieldFunction · 0.85

Tested by

no test coverage detected