mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Check if missing/modified/unused deps in vendor and fix errors (#1468)
* Check if missing deps in vendor This will catch import from other repos. (maybe by auto-import) * Remove github.com/smartystreets unused deps * Remove github.com/boltdb/bolt unused dep * Fetch github.com/go-xorm/core + sync gopkg.in/ldap.v2/ldap.go * Auto-install govendor + reinstall github.com/boltdb/bolt needed by vendor/github.com/blevesearch/bleve/index/store/boltdb * Update go-xorm/xorm to a5cb21 in vendor.json * Use a custom repo for implementing change to bolt dep. * Switching bolt to github.com/go-gitea/bolt * Switching bolt to github.com/go-gitea/bolt (fork version) * change the drone sign
This commit is contained in:
		
				
					committed by
					
						 Lunny Xiao
						Lunny Xiao
					
				
			
			
				
	
			
			
			
						parent
						
							fcc7cdab11
						
					
				
				
					commit
					eb1075dd4c
				
			
							
								
								
									
										4
									
								
								vendor/github.com/go-xorm/core/dialect.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								vendor/github.com/go-xorm/core/dialect.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -279,9 +279,9 @@ func (b *Base) ForUpdateSql(query string) string { | ||||
| func (b *Base) LogSQL(sql string, args []interface{}) { | ||||
| 	if b.logger != nil && b.logger.IsShowSQL() { | ||||
| 		if len(args) > 0 { | ||||
| 			b.logger.Info("[sql]", sql, args) | ||||
| 			b.logger.Infof("[SQL] %v %v", sql, args) | ||||
| 		} else { | ||||
| 			b.logger.Info("[sql]", sql) | ||||
| 			b.logger.Infof("[SQL] %v", sql) | ||||
| 		} | ||||
| 	} | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user