load data sometimes coredump
This commit is contained in:
parent
3582dcb33b
commit
c581715dbb
@ -42,6 +42,8 @@ ObFileReadParam::ObFileReadParam()
|
||||
int ObFileReader::open(const ObFileReadParam ¶m, ObIAllocator &allocator, ObFileReader *& file_reader)
|
||||
{
|
||||
int ret = OB_SUCCESS;
|
||||
file_reader = nullptr;
|
||||
|
||||
if (param.file_location_ == ObLoadFileLocation::SERVER_DISK) {
|
||||
ObRandomFileReader *tmp_reader = OB_NEWx(ObRandomFileReader, &allocator, allocator);
|
||||
if (OB_ISNULL(tmp_reader)) {
|
||||
|
@ -685,7 +685,7 @@ public:
|
||||
InsertTask,
|
||||
};
|
||||
struct ToolBox {
|
||||
ToolBox() : expr_buffer(nullptr) {}
|
||||
ToolBox() : file_reader(nullptr), job_status(nullptr), expr_buffer(nullptr) {}
|
||||
int init(ObExecContext &ctx, ObLoadDataStmt &load_stmt);
|
||||
int build_calc_partid_expr(ObExecContext &ctx,
|
||||
ObLoadDataStmt &load_stmt,
|
||||
|
Loading…
x
Reference in New Issue
Block a user