[CP][BUGFIX] fix text substr len 0 error

This commit is contained in:
skylhd
2023-12-19 21:18:19 +00:00
committed by ob-robot
parent 05e1caa093
commit ae8491eec7
3 changed files with 42 additions and 37 deletions

View File

@ -77,6 +77,10 @@ void ObTextStringDatumResult::set_result()
res_datum_->set_string(buffer_, pos_);
}
void ObTextStringDatumResult::set_result_null()
{
res_datum_->set_null();
}
int ObTextStringObObjResult::init(int64_t res_len, ObIAllocator *allocator)
{