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 
			
		
		
		
	add error and MTR test
This commit is contained in:
		
				
					committed by
					
						 drrtuy
						drrtuy
					
				
			
			
				
	
			
			
			
						parent
						
							011a1edabb
						
					
				
				
					commit
					25b83f1cca
				
			| @@ -250,9 +250,15 @@ void gp_walk(const Item* item, void* arg) | ||||
|     { | ||||
|       Item* ncitem = const_cast<Item*>(item); | ||||
|       Item_func* ifp = static_cast<Item_func*>(ncitem); | ||||
|  | ||||
|       std::string funcName = ifp->func_name(); | ||||
|       if(ifp->arguments()[0] != nullptr && ifp->arguments()[0]->type()!= Item::FIELD_ITEM) | ||||
|       { | ||||
|         logging::Message::Args args; | ||||
|         args.add(funcName); | ||||
|         gwip->fatalParseError = true; | ||||
|         gwip->parseErrorText = | ||||
|               logging::IDBErrorInfo::instance()->errorMsg(logging::ERR_DATATYPE_NOT_SUPPORT, args); | ||||
|         std::cout<<gwip->parseErrorText<<std::endl; | ||||
|         return; | ||||
|       } | ||||
|        | ||||
|   | ||||
		Reference in New Issue
	
	Block a user