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

Function dbstmt_close

lua/sp.c:3481–3489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3479}
3480
3481static int dbstmt_close(Lua L)
3482{
3483 SP sp = getsp(L);
3484 luaL_checkudata(L, 1, dbtypes.dbstmt);
3485 dbstmt_t *dbstmt = lua_touserdata(L, 1);
3486 lua_end_step(sp->clnt, sp, dbstmt->stmt);
3487 donate_stmt(sp, dbstmt);
3488 return 0;
3489}
3490
3491static int dbstmt_column_count(Lua L)
3492{

Callers

nothing calls this directly

Calls 4

luaL_checkudataFunction · 0.85
lua_touserdataFunction · 0.85
lua_end_stepFunction · 0.85
donate_stmtFunction · 0.85

Tested by

no test coverage detected