Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Pass user config option via database name #1064

Merged
merged 4 commits into from
Jul 29, 2024

Conversation

guenp
Copy link
Contributor

@guenp guenp commented Jul 29, 2024

In DuckDB, database connections are cached by unique database name but not by unique configuration settings. This PR removes the user config option from the config and appends it to the database name (i.e. database_name?user=foo) such that we can disable the cache.

@guenp guenp changed the title Pass user config option via database name fix: Pass user config option via database name Jul 29, 2024
@Mause Mause merged commit cbb60fd into Mause:main Jul 29, 2024
7 of 9 checks passed
@guenp guenp deleted the guenp/add-no-cache branch July 29, 2024 17:33
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.

2 participants