| 7342 | } |
| 7343 | |
| 7344 | void exec_thread(struct sqlthdstate *thd, struct sqlclntstate *clnt) |
| 7345 | { |
| 7346 | clnt->done_cb = thread_dispatch_finished; |
| 7347 | SP sp = clnt->sp; |
| 7348 | Lua L = sp->lua; |
| 7349 | dbthread_type *dbthd = sp->dbthd; |
| 7350 | dbthd->status = THREAD_STATUS_RUNNING; |
| 7351 | get_curtran(thedb->bdb_env, clnt); |
| 7352 | exec_thread_int(thd, clnt); |
| 7353 | lua_gc(L, LUA_GCCOLLECT, 0); |
| 7354 | drop_temp_tables(clnt->sp); |
| 7355 | free_tmptbls(clnt->sp); |
| 7356 | put_curtran(thedb->bdb_env, clnt); |
| 7357 | } |
| 7358 | |
| 7359 | int exec_procedure(struct sqlthdstate *thd, struct sqlclntstate *clnt, char **err) |
| 7360 | { |
no test coverage detected