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

Function remove_emit

lua/sp.c:5167–5183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5165}
5166
5167static void remove_emit(Lua L)
5168{
5169 luaL_getmetatable(L, dbtypes.db);
5170 lua_pushnil(L);
5171 lua_setfield(L, -2, "emit");
5172 lua_pop(L, 1);
5173
5174 luaL_getmetatable(L, dbtypes.dbstmt);
5175 lua_pushnil(L);
5176 lua_setfield(L, -2, "emit");
5177 lua_pop(L, 1);
5178
5179 luaL_getmetatable(L, dbtypes.dbtable);
5180 lua_pushnil(L);
5181 lua_setfield(L, -2, "emit");
5182 lua_pop(L, 1);
5183}
5184
5185static void update_tran_funcs(Lua L, struct sqlclntstate *clnt)
5186{

Callers 3

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