Commit 9cc0948
committed
fix(transaction): move flag assignment after auto-commit
Move last_update_committed_ assignment to after auto-commit attempt.
If Commit() fails, ICEBERG_RETURN_UNEXPECTED returns early and the flag
remains false, preventing the transaction from incorrectly reporting the
update as committed when it actually failed.1 parent 1a56283 commit 9cc0948
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
70 | 68 | | |
71 | | - | |
| 69 | + | |
| 70 | + | |
72 | 71 | | |
73 | 72 | | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
0 commit comments