Skip to content

Commit eebdabe

Browse files
committed
savepoints
Signed-off-by: doxlik <doxlikx@gmail.com>
1 parent 357b752 commit eebdabe

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

vertx-sql-client/src/main/java/io/vertx/sqlclient/impl/TransactionImpl.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ public Future<Transaction> begin() {
5555
}
5656

5757
public void status(TransactionState state) {
58-
this.state = state;
58+
synchronized (this) {
59+
this.state = state;
60+
}
5961
}
6062

6163
<T> Future<T> failedFuture(String message) {

0 commit comments

Comments
 (0)