mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00:00 
			
		
		
		
	vendor: update sqlite to fix "database is locked" errors (#2116)
closes #2040
upstream commit: acfa601240
			
			
This commit is contained in:
		 Andrey Nering
					Andrey Nering
				
			
				
					committed by
					
						 Lunny Xiao
						Lunny Xiao
					
				
			
			
				
	
			
			
			 Lunny Xiao
						Lunny Xiao
					
				
			
						parent
						
							a52cd59727
						
					
				
				
					commit
					2ef33b5338
				
			
							
								
								
									
										8
									
								
								vendor/github.com/mattn/go-sqlite3/sqlite3ext.h
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								vendor/github.com/mattn/go-sqlite3/sqlite3ext.h
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -13,7 +13,7 @@ | ||||
| ** This header file defines the SQLite interface for use by | ||||
| ** shared libraries that want to be imported as extensions into | ||||
| ** an SQLite instance.  Shared libraries that intend to be loaded | ||||
| ** as extensions by SQLite should #include this file instead of | ||||
| ** as extensions by SQLite should #include this file instead of  | ||||
| ** sqlite3.h. | ||||
| */ | ||||
| #ifndef SQLITE3EXT_H | ||||
| @@ -544,14 +544,14 @@ typedef int (*sqlite3_loadext_entry)( | ||||
| #endif /* !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) */ | ||||
|  | ||||
| #if !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) | ||||
|   /* This case when the file really is being compiled as a loadable | ||||
|   /* This case when the file really is being compiled as a loadable  | ||||
|   ** extension */ | ||||
| # define SQLITE_EXTENSION_INIT1     const sqlite3_api_routines *sqlite3_api=0; | ||||
| # define SQLITE_EXTENSION_INIT2(v)  sqlite3_api=v; | ||||
| # define SQLITE_EXTENSION_INIT3     \ | ||||
|     extern const sqlite3_api_routines *sqlite3_api; | ||||
| #else | ||||
|   /* This case when the file is being statically linked into the | ||||
|   /* This case when the file is being statically linked into the  | ||||
|   ** application */ | ||||
| # define SQLITE_EXTENSION_INIT1     /*no-op*/ | ||||
| # define SQLITE_EXTENSION_INIT2(v)  (void)v; /* unused parameter */ | ||||
| @@ -562,4 +562,4 @@ typedef int (*sqlite3_loadext_entry)( | ||||
| #else // USE_LIBSQLITE3 | ||||
|  // If users really want to link against the system sqlite3 we | ||||
| // need to make this file a noop. | ||||
|  #endif | ||||
|  #endif | ||||
		Reference in New Issue
	
	Block a user