Skip to content

Support memory DBs in URL without leading c. (1.3)#265

Merged
staticlibs merged 1 commit intoduckdb:v1.3-ossivalisfrom
staticlibs:memory_colon_13
Jun 15, 2025
Merged

Support memory DBs in URL without leading c. (1.3)#265
staticlibs merged 1 commit intoduckdb:v1.3-ossivalisfrom
staticlibs:memory_colon_13

Conversation

@staticlibs
Copy link
Collaborator

This is a backport of the PR #234 to v1.3-ossivalis stable branch.

Minor change, to allow passing named in-memory connections without double colon prefix. So the following URLs will point to the same in-memory DB:

jdbc:duckdb::memory:tag1
jdbc:duckdb:memory:tag1

Testing: new test added that check that DB instance cache works correctly with and without second colon in URL.

This is a backport of the PR duckdb#234 to v1.3-ossivalis stable branch.

Minor change, to allow passing named in-memory connections without
double colon prefix. So the following URLs will point to the same
in-memory DB:

```
jdbc:duckdb::memory:tag1
jdbc:duckdb:memory:tag1
```

Testing: new test added that check that DB instance cache works
correctly with and without second colon in URL.
@staticlibs staticlibs merged commit b391841 into duckdb:v1.3-ossivalis Jun 15, 2025
@staticlibs staticlibs deleted the memory_colon_13 branch June 15, 2025 23:30
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.

1 participant