mirror of
				https://github.com/isar/rusqlite.git
				synced 2025-10-30 21:38:57 +08:00 
			
		
		
		
	Check SQL query passed to execute
				
					
				
			When `extra_check` feature is activated: Fail when query has a column count > 0 Or when query is readonly.
This commit is contained in:
		| @@ -890,7 +890,8 @@ mod test { | ||||
|             ) | ||||
|             .expect("create temp db"); | ||||
|  | ||||
|         let mut db1 = Connection::open_with_flags(&path, OpenFlags::SQLITE_OPEN_READ_WRITE).unwrap(); | ||||
|         let mut db1 = | ||||
|             Connection::open_with_flags(&path, OpenFlags::SQLITE_OPEN_READ_WRITE).unwrap(); | ||||
|         let mut db2 = Connection::open_with_flags(&path, OpenFlags::SQLITE_OPEN_READ_ONLY).unwrap(); | ||||
|  | ||||
|         db1.busy_timeout(Duration::from_millis(0)).unwrap(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user