-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit ac04e5f
Transaction Commit/Rollback returns conn's cached error (#1702)
If a transaction connection has a cached error, return it instead of
ErrInvalidConn during Commit/Rollback operations.
Fix #1690
Co-authored-by: brad-defined <77982333+brad-defined@users.noreply.github.com>1 parent 1bee809 commit ac04e5f
2 files changed
+18
-2
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 | + | ||
28 | 29 |
| |
29 | 30 |
| |
30 | 31 |
| |
| |||
134 | 135 |
| |
135 | 136 |
| |
136 | 137 |
| |
138 | + | ||
137 | 139 |
| |
138 | 140 |
| |
139 | 141 |
| |
|
Lines changed: 16 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 | - | ||
16 | + | ||
17 | 17 |
| |
18 | 18 |
| |
19 | + | ||
20 | + | ||
21 | + | ||
22 | + | ||
23 | + | ||
24 | + | ||
25 | + | ||
19 | 26 |
| |
20 | 27 |
| |
21 | 28 |
| |
22 | 29 |
| |
23 | 30 |
| |
24 | 31 |
| |
25 | - | ||
32 | + | ||
26 | 33 |
| |
27 | 34 |
| |
35 | + | ||
36 | + | ||
37 | + | ||
38 | + | ||
39 | + | ||
40 | + | ||
41 | + | ||
28 | 42 |
| |
29 | 43 |
| |
30 | 44 |
| |
|
0 commit comments