From 6864593c025567203e0ee3fb8b6540f512180fcb Mon Sep 17 00:00:00 2001 From: Julien Viet Date: Fri, 2 Aug 2024 09:27:34 +0200 Subject: [PATCH] Fix copy constructor not copying tracing policy --- .../src/main/java/io/vertx/sqlclient/SqlConnectOptions.java | 1 + 1 file changed, 1 insertion(+) diff --git a/vertx-sql-client/src/main/java/io/vertx/sqlclient/SqlConnectOptions.java b/vertx-sql-client/src/main/java/io/vertx/sqlclient/SqlConnectOptions.java index af24af64d..eeeb598a9 100644 --- a/vertx-sql-client/src/main/java/io/vertx/sqlclient/SqlConnectOptions.java +++ b/vertx-sql-client/src/main/java/io/vertx/sqlclient/SqlConnectOptions.java @@ -106,6 +106,7 @@ public SqlConnectOptions(SqlConnectOptions other) { if (other.properties != null) { this.properties = new HashMap<>(other.properties); } + this.tracingPolicy = other.tracingPolicy; this.reconnectAttempts = other.reconnectAttempts; this.reconnectInterval = other.reconnectInterval; ClientSSLOptions sslOptions = other.sslOptions;