Skip to content

Commit 301f0c2

Browse files
committed
Bug Fix: Set osql tran_ops and sentops to 0 on sorese abort
Signed-off-by: mdouglas47 <[email protected]>
1 parent ecec6d3 commit 301f0c2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

db/osqlshadtbl.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2428,6 +2428,8 @@ void osql_shadtbl_close(struct sqlclntstate *clnt)
24282428
/* don't reset timestamp yet */
24292429
}
24302430

2431+
osql->sentops = 0;
2432+
osql->tran_ops = 0;
24312433
osql->has_updstat = 0;
24322434
osql->dirty = 0;
24332435
osql_destroy_verify_temptbl(thedb->bdb_env, clnt);

0 commit comments

Comments
 (0)