Skip to content

Commit 9f16e28

Browse files
mohitkhullarakshatsikarwar
authored andcommitted
Handle wrong state
Signed-off-by: mohitkhullar <mkhullar1@bloomberg.net>
1 parent 2e6e6b3 commit 9f16e28

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

db/sqlinterfaces.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1425,6 +1425,7 @@ void sql_set_sqlengine_state(struct sqlclntstate *clnt, char *file, int line,
14251425
if (newstate == SQLENG_WRONG_STATE) {
14261426
logmsg(LOGMSG_ERROR, "sqlengine entering wrong state from state %d file %s line %d.\n",
14271427
clnt->ctrl_sqlengine, file, line);
1428+
handle_sql_intrans_unrecoverable_error(clnt);
14281429
}
14291430

14301431
clnt->sqlengine_state_file = file;

0 commit comments

Comments
 (0)