fix:47511241,47428434
This commit is contained in:
@ -191,7 +191,19 @@ public:
|
||||
ObEvalCtx &ctx,
|
||||
ObDatum &res,
|
||||
T &str,
|
||||
common::ObIAllocator *allocator = nullptr);
|
||||
common::ObIAllocator *allocator = nullptr)
|
||||
{
|
||||
int ret = OB_SUCCESS;
|
||||
ObTextStringDatumResult text_result(expr.datum_meta_.type_, &expr, &ctx, &res);
|
||||
if (OB_FAIL(text_result.init(str.length(), allocator))) {
|
||||
LOG_WARN("init lob result failed");
|
||||
} else if (OB_FAIL(text_result.append(str.ptr(), str.length()))) {
|
||||
LOG_WARN("failed to append realdata", K(ret), K(str), K(text_result));
|
||||
} else {
|
||||
text_result.set_result();
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
/**
|
||||
* the following 3 functions is used for json_query and json_mergepatch
|
||||
|
||||
Reference in New Issue
Block a user