Commit 38b4f7a
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 659fa14 commit 38b4f7a
3 files changed
Lines changed: 10 additions & 2 deletions
File tree
- vertx-pg-client/src/test/java/io/vertx/tests/pgclient
- vertx-sql-client/src/main/java/io/vertx/sqlclient
- impl
- 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 | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | | - | |
| 298 | + | |
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
0 commit comments