Skip to content

Commit 197af96

Browse files
authored
Always set SQLITE_OPEN_URI on memory sqlite
1 parent 05a10de commit 197af96

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sqlx-sqlite/src/connection/establish.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ impl EstablishParams {
8787

8888
if options.in_memory {
8989
flags |= SQLITE_OPEN_MEMORY;
90+
flags |= libsqlite3_sys::SQLITE_OPEN_URI;
9091
}
9192

9293
flags |= if options.shared_cache {

0 commit comments

Comments
 (0)