| 2257 | } |
| 2258 | |
| 2259 | static void lua_begin_step(struct sqlclntstate *clnt, SP sp, |
| 2260 | sqlite3_stmt *pStmt) |
| 2261 | { |
| 2262 | int64_t time = comdb2_time_epochms(); |
| 2263 | Vdbe *pVdbe = (Vdbe*)pStmt; |
| 2264 | |
| 2265 | if ((sp != NULL) && (pVdbe != NULL)) { |
| 2266 | save_thd_cost_and_reset(sp->thd, pVdbe); |
| 2267 | pVdbe->luaStartTime = time; |
| 2268 | pVdbe->luaRows = 0; |
| 2269 | } |
| 2270 | } |
| 2271 | |
| 2272 | static void lua_another_step(struct sqlclntstate *clnt, |
| 2273 | sqlite3_stmt *pStmt, int rc) |
no test coverage detected