mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	bpo-40810: Require SQLite 3.7.15 (GH-24106)
This commit is contained in:
		
							parent
							
								
									c7f8d3caf0
								
							
						
					
					
						commit
						cf0b23908c
					
				
					 9 changed files with 11 additions and 56 deletions
				
			
		|  | @ -260,14 +260,6 @@ def trace(statement): | |||
|         cur.execute(queries[0]) | ||||
|         con2.execute("create table bar(x)") | ||||
|         cur.execute(queries[1]) | ||||
| 
 | ||||
|         # Extract from SQLite 3.7.15 changelog: | ||||
|         # Avoid invoking the sqlite3_trace() callback multiple times when a | ||||
|         # statement is automatically reprepared due to SQLITE_SCHEMA errors. | ||||
|         # | ||||
|         # See bpo-40810 | ||||
|         if sqlite.sqlite_version_info < (3, 7, 15): | ||||
|             queries.append(queries[-1]) | ||||
|         self.assertEqual(traced_statements, queries) | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Erlend Egeberg Aasland
						Erlend Egeberg Aasland