gwenn

Results 528 comments of gwenn

Thanks and sorry for the noise related to last stable release of Rust.

There is at least one runtime check that can fail: https://github.com/rusqlite/rusqlite/blob/master/tests/deny_single_threaded_sqlite_config.rs

As far as I know, there is no plan to implement writable vtab. And we still miss some features on read-only vtab (see #639). But a PR which depends only...

There is an extended version: https://sqlite.org/pragma.html#pragma_table_xinfo ```sh sqlite> .headers on sqlite> .mode column sqlite> SELECT * FROM pragma_table_xinfo('sqlite_master'); cid name type notnull dflt_value pk hidden ---------- ---------- ---------- ---------- ----------...

Currently, the Rust type system ensures that one `rusqlite::Connection` can be used by only one thread at the same time because it is not `Sync`ed. But `rusqlite::Connection` is `Send`able so...

Overly strict should be: not `Sync`able (Rust default if there is a `*mut` somewhere) + `SQLITE_OPEN_FULLMUTEX` (SQLite default).

If possible, you should activate [sqlite3_trace](https://sqlite.org/c3ref/profile.html) and/or [sqlite3_config(SQLITE_CONFIG_LOG, ...)](https://sqlite.org/c3ref/c_config_covering_index_scan.html). I don't know how to activate them with diesel bu with `rusqlite`: https://docs.rs/rusqlite/latest/rusqlite/struct.Connection.html#method.trace and https://docs.rs/rusqlite/latest/rusqlite/trace/fn.config_log.html I guess that an SQLite error...

https://sqlite.org/pragma.html#pragma_temp_store_directory > This pragma is deprecated https://sqlite.org/c3ref/temp_directory.html > Applications are strongly discouraged from using this global variable. It is required to set a temporary folder on Windows Runtime (WinRT). But...

You can check compile options with https://sqlite.org/pragma.html#pragma_compile_options