mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-03 08:02:36 +09:00 
			
		
		
		
	tune sqlite3 message (#17601)
This commit is contained in:
		@@ -128,9 +128,9 @@ func GlobalInit(ctx context.Context) {
 | 
				
			|||||||
	markup.Init()
 | 
						markup.Init()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if setting.EnableSQLite3 {
 | 
						if setting.EnableSQLite3 {
 | 
				
			||||||
		log.Info("SQLite3 Supported")
 | 
							log.Info("SQLite3 support is enabled")
 | 
				
			||||||
	} else if setting.Database.UseSQLite3 {
 | 
						} else if setting.Database.UseSQLite3 {
 | 
				
			||||||
		log.Fatal("SQLite3 is set in settings but NOT Supported")
 | 
							log.Fatal("SQLite3 support is disabled, but it is used for database setting. Please get or build a Gitea release with SQLite3 support.")
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	mustInitCtx(ctx, common.InitDBEngine)
 | 
						mustInitCtx(ctx, common.InitDBEngine)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user