fix bug use unexpected error code
This commit is contained in:
		
				
					committed by
					
						
						ob-robot
					
				
			
			
				
	
			
			
			
						parent
						
							3ef5a0bfd7
						
					
				
				
					commit
					d97553e3e5
				
			@ -163,7 +163,7 @@ int ObDASInsertOp::insert_row_with_fetch()
 | 
			
		||||
  } else if (OB_FAIL(ObDMLService::init_dml_param(*ins_ctdef_, *ins_rtdef_, *snapshot_, write_branch_id_, op_alloc_, dml_param))) {
 | 
			
		||||
    LOG_WARN("init dml param failed", K(ret), KPC_(ins_ctdef), KPC_(ins_rtdef));
 | 
			
		||||
  } else if (OB_ISNULL(buf = op_alloc_.alloc(sizeof(ObDASConflictIterator)))) {
 | 
			
		||||
    ret = OB_ERR_UNEXPECTED;
 | 
			
		||||
    ret = OB_ALLOCATE_MEMORY_FAILED;
 | 
			
		||||
    LOG_WARN("fail to allocate ObDASConflictIterator", K(ret));
 | 
			
		||||
  } else {
 | 
			
		||||
    result_iter = new(buf) ObDASConflictIterator(ins_ctdef_->table_rowkey_types_,
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user