mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	Upgrade xorm to v0.7.9 to fix some bugs (#8354)
* upgrade xorm to v0.7.9 to fix some bugs * upgrade xormstore to v1.3.1
This commit is contained in:
		
				
					committed by
					
						 techknowlogick
						techknowlogick
					
				
			
			
				
	
			
			
			
						parent
						
							3be43dc5e3
						
					
				
				
					commit
					c9f819eae0
				
			
							
								
								
									
										8
									
								
								vendor/github.com/go-xorm/xorm/statement.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								vendor/github.com/go-xorm/xorm/statement.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -266,6 +266,14 @@ func (statement *Statement) buildUpdates(bean interface{}, | ||||
| 			continue | ||||
| 		} | ||||
|  | ||||
| 		if statement.incrColumns.isColExist(col.Name) { | ||||
| 			continue | ||||
| 		} else if statement.decrColumns.isColExist(col.Name) { | ||||
| 			continue | ||||
| 		} else if statement.exprColumns.isColExist(col.Name) { | ||||
| 			continue | ||||
| 		} | ||||
|  | ||||
| 		fieldValuePtr, err := col.ValueOf(bean) | ||||
| 		if err != nil { | ||||
| 			engine.logger.Error(err) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user