[FEAT MERGE] Lob SQL refactoring (Mem-LobLocator, expressions and dbms_lob adaptions)
Co-authored-by: chaser-ch <chaser.ch@antgroup.com>
This commit is contained in:
@ -17,6 +17,7 @@
|
||||
#include "sql/engine/ob_physical_plan_ctx.h"
|
||||
#include "sql/engine/ob_exec_context.h"
|
||||
#include "pl/ob_pl.h"
|
||||
#include "sql/engine/expr/ob_expr_lob_utils.h"
|
||||
|
||||
namespace oceanbase
|
||||
{
|
||||
@ -333,6 +334,9 @@ int ObExprPLSQLVariable::eval_plsql_variable(const ObExpr &expr, ObEvalCtx &ctx,
|
||||
}
|
||||
}
|
||||
OZ(res.from_obj(result, expr.obj_datum_map_));
|
||||
if (is_lob_storage(result.get_type())) {
|
||||
OZ(ob_adjust_lob_datum(result, expr.obj_meta_, ctx.exec_ctx_.get_allocator(), res));
|
||||
}
|
||||
OZ(expr.deep_copy_datum(ctx, res));
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user