mirror of
https://github.com/NixOS/nix
synced 2024-09-20 11:11:03 -04:00
Update src/libstore/local-store.hh
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
This commit is contained in:
parent
b09baa3bc3
commit
ba492a98ba
|
@ -56,10 +56,11 @@ struct LocalStoreConfig : virtual LocalFSStoreConfig
|
||||||
|
|
||||||
Enable read-only mode to disable locking and open the SQLite database with the [`immutable` parameter](https://www.sqlite.org/c3ref/open.html) set.
|
Enable read-only mode to disable locking and open the SQLite database with the [`immutable` parameter](https://www.sqlite.org/c3ref/open.html) set.
|
||||||
|
|
||||||
**Warning**
|
> **Warning**
|
||||||
Do not use this unless the filesystem is read-only.
|
> Do not use this unless the filesystem is read-only.
|
||||||
Using it when the filesystem is writable can cause incorrect query results or corruption errors if the database is changed by another process.
|
>
|
||||||
While the filesystem the database resides on might appear to be read-only, consider whether another user or system might have write access to it.
|
> Using it when the filesystem is writable can cause incorrect query results or corruption errors if the database is changed by another process.
|
||||||
|
> While the filesystem the database resides on might appear to be read-only, consider whether another user or system might have write access to it.
|
||||||
)"};
|
)"};
|
||||||
|
|
||||||
const std::string name() override { return "Local Store"; }
|
const std::string name() override { return "Local Store"; }
|
||||||
|
|
Loading…
Reference in a new issue