mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-06 16:54:23 +01:00
sqlite3: Fix LFS feature flag
This commit is contained in:
@@ -8,6 +8,9 @@ edition.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
|
||||
[features]
|
||||
lfs = []
|
||||
|
||||
[package.metadata.dist]
|
||||
dist = true
|
||||
|
||||
|
||||
@@ -882,9 +882,9 @@ fn sqlite3_errstr_impl(rc: i32) -> *const std::ffi::c_char {
|
||||
"constraint failed", // SQLITE_CONSTRAINT
|
||||
"datatype mismatch", // SQLITE_MISMATCH
|
||||
"bad parameter or other API misuse", // SQLITE_MISUSE
|
||||
#[cfg(not(feature = "SQLITE_DISABLE_LFS"))]
|
||||
#[cfg(feature = "lfs")]
|
||||
"", // SQLITE_NOLFS
|
||||
#[cfg(feature = "SQLITE_DISABLE_LFS")]
|
||||
#[cfg(not(feature = "lfs"))]
|
||||
"large file support is disabled", // SQLITE_NOLFS
|
||||
"authorization denied", // SQLITE_AUTH
|
||||
"", // SQLITE_FORMAT
|
||||
|
||||
Reference in New Issue
Block a user