Commit 8a0ded6
committed
Support memory DBs in URL without leading colon
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.1 parent 2007bd0 commit 8a0ded6
File tree
2 files changed
+23
-0
lines changed- src
- main/java/org/duckdb
- test/java/org/duckdb
2 files changed
+23
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3484 | 3484 | | |
3485 | 3485 | | |
3486 | 3486 | | |
| 3487 | + | |
| 3488 | + | |
| 3489 | + | |
| 3490 | + | |
| 3491 | + | |
| 3492 | + | |
| 3493 | + | |
| 3494 | + | |
| 3495 | + | |
| 3496 | + | |
| 3497 | + | |
| 3498 | + | |
| 3499 | + | |
| 3500 | + | |
| 3501 | + | |
| 3502 | + | |
| 3503 | + | |
| 3504 | + | |
| 3505 | + | |
| 3506 | + | |
3487 | 3507 | | |
3488 | 3508 | | |
3489 | 3509 | | |
| |||
0 commit comments