Skip to content

Commit

Permalink
Merge 'core: drop mutex on contents' from Pere Diaz Bou
Browse files Browse the repository at this point in the history
There is no need to have mutexes on buffers, we will introduce mutexes
if we want later on a file level to introduce serializability.
This pr also includes a fix in the cacheflush procedure where a wait of
inflight writes weren't waited.

Reviewed-by: Pekka Enberg <[email protected]>

Closes #384
  • Loading branch information
pereman2 committed Nov 13, 2024
2 parents c46bd63 + a4b473b commit 4a55e0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlite3/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,7 @@ fn sqlite3_errstr_impl(rc: i32) -> *const std::ffi::c_char {
"datatype mismatch", // SQLITE_MISMATCH
"bad parameter or other API misuse", // SQLITE_MISUSE
#[cfg(feature = "lfs")]
"", // SQLITE_NOLFS
"", // SQLITE_NOLFS
#[cfg(not(feature = "lfs"))]
"large file support is disabled", // SQLITE_NOLFS
"authorization denied", // SQLITE_AUTH
Expand Down

0 comments on commit 4a55e0b

Please sign in to comment.