Commit d4f1ebd
authored
Indeterminate PreparedStatement error hidden when inside a transaction (#1558)
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 4ab36b8 commit d4f1ebd
3 files changed
Lines changed: 10 additions & 2 deletions
File tree
- vertx-pg-client/src/test/java/io/vertx/tests/pgclient
- vertx-sql-client-codec/src/main/java/io/vertx/sqlclient/codec
- vertx-sql-client/src/main/java/io/vertx/sqlclient/internal
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
547 | 547 | | |
548 | 548 | | |
549 | 549 | | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
550 | 558 | | |
551 | 559 | | |
552 | 560 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
337 | | - | |
| 337 | + | |
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
0 commit comments