mirror of https://git.kore.io/kore.git
In pgsql_simple_state_result() be sure to progress the sql state.
Drop back into waiting after our result so we can properly read out the completed state.
This commit is contained in:
parent
ee52746a7a
commit
f6f37437da
|
@ -511,7 +511,9 @@ pgsql_simple_state_result(struct http_request *req)
|
|||
if (simple->result)
|
||||
simple->result(req, simple);
|
||||
|
||||
req->fsm_state = PGSQL_SIMPLE_STATE_DONE;
|
||||
kore_pgsql_continue(req, &simple->sql);
|
||||
req->fsm_state = PGSQL_SIMPLE_STATE_WAIT;
|
||||
|
||||
return (HTTP_STATE_CONTINUE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue