Commit 743d279
authored
See #1557
When inside a transaction (autocommit=false), don't try to prepare a statement again, even if the error is due to indeterminate types.
Indeed, the transaction is aborted and new commands are ignored until the transaction is rollbacked.
Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
1 parent d3814d8 commit 743d279
3 files changed
Lines changed: 10 additions & 2 deletions
File tree
- vertx-pg-client/src/test/java/io/vertx/pgclient
- vertx-sql-client/src/main/java/io/vertx/sqlclient/impl
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
509 | 509 | | |
510 | 510 | | |
511 | 511 | | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
512 | 520 | | |
513 | 521 | | |
514 | 522 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
306 | | - | |
| 306 | + | |
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
0 commit comments