Add binding to sqlite3_busy_timeout and sqlite3_busy_handler.

This commit is contained in:
gwenn
2018-07-28 12:10:57 +02:00
parent a7479488b8
commit 558104de4d
2 changed files with 162 additions and 1 deletions

View File

@@ -56,7 +56,7 @@ extern crate libsqlite3_sys as ffi;
extern crate lru_cache;
#[macro_use]
extern crate bitflags;
#[cfg(all(test, feature = "trace"))]
#[cfg(test)]
#[macro_use]
extern crate lazy_static;
@@ -126,6 +126,7 @@ mod hooks;
#[cfg(feature = "hooks")]
pub use hooks::*;
mod unlock_notify;
mod busy;
// Number of cached prepared statements we'll hold on to.
const STATEMENT_CACHE_DEFAULT_CAPACITY: usize = 16;