mirror of
				https://github.com/isar/rusqlite.git
				synced 2025-10-31 05:48:56 +08:00 
			
		
		
		
	Make connect/create/declare_vtab safe
This commit is contained in:
		| @@ -62,11 +62,7 @@ impl Module for ArrayModule { | ||||
|         self.0 | ||||
|     } | ||||
|  | ||||
|     unsafe fn connect( | ||||
|         db: *mut ffi::sqlite3, | ||||
|         _aux: Option<&()>, | ||||
|         _args: &[&[u8]], | ||||
|     ) -> Result<ArrayTab> { | ||||
|     fn connect(db: &mut ffi::sqlite3, _aux: Option<&()>, _args: &[&[u8]]) -> Result<ArrayTab> { | ||||
|         let vtab = ArrayTab { | ||||
|             base: Default::default(), | ||||
|         }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user