Remove old_sqlite feature

And associated bindgen_3.6.8.rs
This commit is contained in:
gwenn
2022-08-22 18:32:55 +02:00
committed by Thom Chiovoloni
parent 15d56bcb52
commit 6766d6a6cd
15 changed files with 5 additions and 1918 deletions

View File

@@ -295,7 +295,6 @@ impl InnerConnection {
unsafe { ffi::sqlite3_get_autocommit(self.db()) != 0 }
}
#[cfg(not(feature = "old_sqlite"))] // 3.8.6
pub fn is_busy(&self) -> bool {
let db = self.db();
unsafe {
@@ -310,7 +309,6 @@ impl InnerConnection {
false
}
#[cfg(not(feature = "old_sqlite"))] // 3.10.0
pub fn cache_flush(&mut self) -> Result<()> {
crate::error::check(unsafe { ffi::sqlite3_db_cacheflush(self.db()) })
}
@@ -319,7 +317,6 @@ impl InnerConnection {
#[inline]
fn remove_hooks(&mut self) {}
#[cfg(not(feature = "old_sqlite"))] // 3.7.11
pub fn db_readonly(&self, db_name: super::DatabaseName<'_>) -> Result<bool> {
let name = db_name.as_cstring()?;
let r = unsafe { ffi::sqlite3_db_readonly(self.db, name.as_ptr()) };