Skip to content

Commit

Permalink
Always set SQLITE_OPEN_URI on memory sqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
LecrisUT authored Jun 14, 2024
1 parent 05a10de commit 197af96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sqlx-sqlite/src/connection/establish.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ impl EstablishParams {

if options.in_memory {
flags |= SQLITE_OPEN_MEMORY;
flags |= libsqlite3_sys::SQLITE_OPEN_URI;
}

flags |= if options.shared_cache {
Expand Down

0 comments on commit 197af96

Please sign in to comment.