load data sometimes coredump
This commit is contained in:
@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user