fix function name

This commit is contained in:
vms 2023-03-01 14:03:25 +03:00
parent 36291cd6e8
commit 9afeecb514

View File

@ -313,7 +313,7 @@ fn last_error(raw: ffi::Sqlite3DbHandle) -> Option<Error> {
/// usages approaches the limit. The soft heap limit is "soft" because even though SQLite strives /// usages approaches the limit. The soft heap limit is "soft" because even though SQLite strives
/// to stay below the limit, it will exceed the limit rather than generate an SQLITE_NOMEM error. /// to stay below the limit, it will exceed the limit rather than generate an SQLITE_NOMEM error.
/// In other words, the soft heap limit is advisory only. /// In other words, the soft heap limit is advisory only.
pub fn soft_heap_limit64(limit: i64) -> i64 { pub fn soft_soft_heap_limit64(limit: i64) -> i64 {
unsafe { ffi::sqlite3_hard_heap_limit64(limit) } unsafe { ffi::sqlite3_hard_heap_limit64(limit) }
} }