Commit e4ce576
committed
Fix a bug in how we handle serialization errors
This commit fixes a bug in how we handle serialization errors with the
postgres backend and transactions. It turns out that we never update the
transaction manager state for `batch_execute` calls, which in turn are
used for executing the transaction SQL itself. That could lead to
situations in which we don't roll back the transaction, but in which we should
have done that.
Fixes #2411 parent 7d45634 commit e4ce576
3 files changed
+8
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
149 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
150 | 155 | | |
151 | 156 | | |
152 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
| 384 | + | |
| 385 | + | |
390 | 386 | | |
391 | 387 | | |
392 | 388 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
0 commit comments