fix bug remote_execute with invalid schema_version,should ensure that the peer retry

This commit is contained in:
yishenglanlingzui
2022-11-14 05:43:46 +00:00
committed by wangzelin.wzl
parent afd6681d2b
commit 0806bb1efc
2 changed files with 7 additions and 3 deletions

View File

@ -193,9 +193,9 @@ int ObExprToOutfileRow::to_outfile_str(const ObExpr &expr, ObEvalCtx &ctx, ObDat
ret = OB_ALLOCATE_MEMORY_FAILED;
LOG_WARN("allocate memory failed", K(ret), K(pos));
} else {
MEMCPY(res_buf, buf, pos);
expr_datum.set_string(res_buf, pos);
}
MEMCPY(res_buf, buf, pos);
expr_datum.set_string(res_buf, pos);
}
}
} while (OB_SIZE_OVERFLOW == ret
&& OB_SUCC(extend_buffer(*out_info, ctx.exec_ctx_.get_allocator())));