Commit aa4400b
authored
Transaction States Should Be Checked In Queue (#185)
Motivation:
Currently, `MySqlConnection` checks state between the `Mono.defer` is
subscribed and `Exchangeable` is executed. It may cause undefined
behavior.
Modification:
Checks transaction state when request queue executes task.
Result:
Resolves #1831 parent a605469 commit aa4400b
File tree
3 files changed
+127
-102
lines changed- src/main/java/io/asyncer/r2dbc/mysql
3 files changed
+127
-102
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
33 | 40 | | |
34 | 41 | | |
35 | 42 | | |
| |||
Lines changed: 8 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
| 212 | + | |
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
| 226 | + | |
239 | 227 | | |
240 | 228 | | |
241 | 229 | | |
| |||
286 | 274 | | |
287 | 275 | | |
288 | 276 | | |
289 | | - | |
| 277 | + | |
290 | 278 | | |
291 | 279 | | |
292 | 280 | | |
| |||
371 | 359 | | |
372 | 360 | | |
373 | 361 | | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
374 | 367 | | |
375 | 368 | | |
376 | 369 | | |
| |||
0 commit comments