Skip to content

Retain client config on connection duplication#176

Merged
Mytherin merged 1 commit intoduckdb:mainfrom
staticlibs:conn_duplicate
Mar 25, 2025
Merged

Retain client config on connection duplication#176
Mytherin merged 1 commit intoduckdb:mainfrom
staticlibs:conn_duplicate

Conversation

@staticlibs
Copy link
Collaborator

This change copies ClientConfig to a new connection on duplicate() call.

Testing: new test added that checks that home_directory value is retained in a duplicated connection.

Fixes: #148

This change copies `ClientConfig` to a new connection on `duplicate()`
call.

Testing: new test added that checks that `home_directory` value is
retained in a duplicated connection.

Fixes: duckdb#148
@Mytherin Mytherin merged commit 6fc1ea6 into duckdb:main Mar 25, 2025
7 checks passed
@Mytherin
Copy link
Contributor

Thanks!

@staticlibs staticlibs deleted the conn_duplicate branch March 27, 2025 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

home_directory won't be set after duplicating a JDBC connection

2 participants