mirror of
https://github.com/fluencelabs/sqlite-wasm-connector
synced 2025-06-25 21:11:32 +00:00
Test opening a read-only connection
This commit is contained in:
@ -188,7 +188,7 @@ impl ConnectionFlags {
|
||||
|
||||
/// Open the database for reading only.
|
||||
pub fn set_read_only(mut self) -> Self {
|
||||
self.0 |= ffi::SQLITE_OPEN_READWRITE;
|
||||
self.0 |= ffi::SQLITE_OPEN_READONLY;
|
||||
self
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user