-
Notifications
You must be signed in to change notification settings - Fork 353
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wal: add bUsesShm flag to declare relying on shared memory
Before enabling WAL journaling, libSQL detects whether WAL is fully supported. Historically it meant either operating in exclusive mode or supporting shared memory locks in the underlying VFS, but it may not be the case with custom WAL implementations. Thus, custom WAL methods can declare whether they rely on shared memory - if not, it will also not get verified when checking for WAL support.
- Loading branch information
Showing
3 changed files
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters