gwenn
gwenn
If the in-memory mode is specified using [URI filenames](https://sqlite.org/uri.html)/[also](https://sqlite.org/c3ref/open.html#urifilenamesinsqlite3open), it seems feasible.
If [`Connection.path.is_some()`](https://docs.rs/rusqlite/0.14.0/src/rusqlite/lib.rs.html#199) and if we keep the open flags, we can clone. But we can't use the standard trait because [clone](https://doc.rust-lang.org/std/clone/trait.Clone.html#tymethod.clone) cannot fail. Why not use [r2d2](https://docs.rs/r2d2_sqlite/0.6.0/r2d2_sqlite/index.html#example) ? Or [this](https://github.com/gwenn/r2d2-sqlite/blob/master/src/lib.rs#L25)...
> defaulting to WAL journaling https://www.sqlite.org/wal.html **WAL does not work over a network filesystem** So, AFAIK, `rusqlite` cannot set it by default...
Could you please confirm that `pkg_config` `probe` succeeds ? If so `pkg_config` should have emit a `static=sqlcipher`: https://github.com/rust-lang/pkg-config-rs/blob/69d261f9bdcdfff3b237290324cd042a98f9f95b/src/lib.rs#L23 ``` //! * `FOO_STATIC` - pass `--static` for the library `foo` ```...
Sorry to bother you but could you please check: https://github.com/rust-lang/pkg-config-rs/blob/69d261f9bdcdfff3b237290324cd042a98f9f95b/src/lib.rs#L564 ``` /// System libraries should only be linked dynamically ``` And below: https://github.com/rust-lang/pkg-config-rs/blob/69d261f9bdcdfff3b237290324cd042a98f9f95b/src/lib.rs#L574 ``` !system_roots.iter().any(|sys| dir.starts_with(sys)) && ``` `/usr/local/opt/sqlcipher/lib` starts...
See https://github.com/rust-lang/pkg-config-rs/issues/36
May be fixed by version 0.26.0
I am bad at (re)naming things but ok.
A complex query on a database used by only one process (no concurrent access, so no busy error) can time out/take a long time to execute. You should take a...
It seems PRAGMA [query_only](http://sqlite.org/pragma.html#pragma_query_only) may be used.