add for insert values statement split&rewrite batch optimization
This commit is contained in:
		 yishenglanlingzui
					yishenglanlingzui
				
			
				
					committed by
					
						 ob-robot
						ob-robot
					
				
			
			
				
	
			
			
			 ob-robot
						ob-robot
					
				
			
						parent
						
							15934d24ac
						
					
				
				
					commit
					9b3f07d4ad
				
			| @ -61,7 +61,7 @@ int ObExecutor::execute_plan(ObExecContext &ctx) | ||||
|   int64_t batched_stmt_cnt = ctx.get_sql_ctx()->multi_stmt_item_.get_batched_stmt_cnt(); | ||||
|   ctx.set_use_temp_expr_ctx_cache(true); | ||||
|   // If the batch execution is rewritten by insert multi values, there is no need to repack multiple times | ||||
|   if (ctx.get_sql_ctx()->multi_stmt_item_.is_ins_multi_val_opt()) { | ||||
|   if (ctx.get_sql_ctx()->is_do_insert_batch_opt()) { | ||||
|     batched_stmt_cnt = 0; | ||||
|   } | ||||
|   if (OB_UNLIKELY(!inited_)) { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user