You've already forked mariadb-columnstore-engine
							
							
				mirror of
				https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
				synced 2025-10-31 18:30:33 +03:00 
			
		
		
		
	fix: MCOL-5778 sum return null value due to nullif function
This commit is contained in:
		
				
					committed by
					
						 Leonid Fedorov
						Leonid Fedorov
					
				
			
			
				
	
			
			
			
						parent
						
							af6a716079
						
					
				
				
					commit
					b01be6ae2d
				
			| @@ -30,6 +30,8 @@ bool nonConstFunc(Item_func* ifp) | ||||
|   { | ||||
|     if (ifp->arguments()[i]->type() == Item::FUNC_ITEM && nonConstFunc(((Item_func*)ifp->arguments()[i]))) | ||||
|       return true; | ||||
|     if (ifp->arguments()[i]->type() == Item::CACHE_ITEM) | ||||
|       return true; | ||||
|   } | ||||
|  | ||||
|   return false; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user