mirror of
				https://github.com/isar/rusqlite.git
				synced 2025-10-31 13:58:55 +08:00 
			
		
		
		
	Fix unused import
This commit is contained in:
		| @@ -10,7 +10,7 @@ use std::sync::{Arc, Mutex}; | |||||||
| use super::ffi; | use super::ffi; | ||||||
| use super::str_for_sqlite; | use super::str_for_sqlite; | ||||||
| use super::{Connection, InterruptHandle, OpenFlags, Result}; | use super::{Connection, InterruptHandle, OpenFlags, Result}; | ||||||
| use crate::error::{check, error_from_handle, error_from_sqlite_code, Error}; | use crate::error::{error_from_handle, error_from_sqlite_code, Error}; | ||||||
| use crate::raw_statement::RawStatement; | use crate::raw_statement::RawStatement; | ||||||
| use crate::statement::Statement; | use crate::statement::Statement; | ||||||
| use crate::unlock_notify; | use crate::unlock_notify; | ||||||
| @@ -304,7 +304,7 @@ impl InnerConnection { | |||||||
|  |  | ||||||
|     #[cfg(feature = "modern_sqlite")] // 3.10.0 |     #[cfg(feature = "modern_sqlite")] // 3.10.0 | ||||||
|     pub fn cache_flush(&mut self) -> Result<()> { |     pub fn cache_flush(&mut self) -> Result<()> { | ||||||
|         check(unsafe { ffi::sqlite3_db_cacheflush(self.db()) }) |         crate::error::check(unsafe { ffi::sqlite3_db_cacheflush(self.db()) }) | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     #[cfg(not(feature = "hooks"))] |     #[cfg(not(feature = "hooks"))] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user