Bind sqlite3_commit_hook and sqlite3_rollback_hook

This commit is contained in:
gwenn
2017-05-12 19:14:34 +02:00
parent 466b8aab2f
commit dfdd42fd09
2 changed files with 125 additions and 13 deletions

View File

@@ -122,7 +122,9 @@ pub mod blob;
#[cfg(feature = "limits")]
pub mod limits;
#[cfg(feature = "hooks")]
pub mod hooks;
mod hooks;
#[cfg(feature = "hooks")]
pub use hooks::*;
// Number of cached prepared statements we'll hold on to.
const STATEMENT_CACHE_DEFAULT_CAPACITY: usize = 16;