fix subplan filter bug
This commit is contained in:
@ -22,9 +22,9 @@
|
||||
using namespace oceanbase::common;
|
||||
|
||||
namespace oceanbase
|
||||
{
|
||||
namespace sql
|
||||
{
|
||||
{
|
||||
namespace sql
|
||||
{
|
||||
|
||||
ObExprToOutfileRow::ObExprToOutfileRow(ObIAllocator &alloc)
|
||||
: ObStringExprOperator(alloc, T_OP_TO_OUTFILE_ROW, N_TO_OUTFILE_ROW, MORE_THAN_ZERO, INTERNAL_IN_MYSQL_MODE)
|
||||
@ -111,9 +111,9 @@ int ObExprToOutfileRow::extend_buffer(ObExprOutFileInfo &out_info,
|
||||
}
|
||||
|
||||
int ObExprToOutfileRow::calc_outfile_info(const ObExpr &expr,
|
||||
ObEvalCtx &ctx,
|
||||
ObIAllocator &allocator,
|
||||
ObExprOutFileInfo &out_info)
|
||||
ObEvalCtx &ctx,
|
||||
ObIAllocator &allocator,
|
||||
ObExprOutFileInfo &out_info)
|
||||
{
|
||||
int ret = OB_SUCCESS;
|
||||
ObObj objs_array[PARAM_SELECT_ITEM];
|
||||
@ -139,9 +139,9 @@ int ObExprToOutfileRow::calc_outfile_info(const ObExpr &expr,
|
||||
out_info.line_ = objs_array[PARAM_LINE];
|
||||
out_info.enclose_ = objs_array[PARAM_ENCLOSED];
|
||||
out_info.escape_ = objs_array[PARAM_ESCAPED];
|
||||
out_info.print_params_.cs_type_ = static_cast<ObCollationType>(objs_array[PARAM_CHARSET].get_int());
|
||||
}
|
||||
|
||||
out_info.print_params_.cs_type_ = static_cast<ObCollationType>(objs_array[PARAM_CHARSET].get_int());
|
||||
}
|
||||
|
||||
OZ(extract_fisrt_wchar_from_varhcar(out_info.field_, out_info.wchar_field_));
|
||||
OZ(extract_fisrt_wchar_from_varhcar(out_info.line_, out_info.wchar_line_));
|
||||
OZ(extract_fisrt_wchar_from_varhcar(out_info.enclose_, out_info.wchar_enclose_));
|
||||
|
||||
Reference in New Issue
Block a user