[CP] bugfix soundex expr for multi chunk outrow lob

This commit is contained in:
shadowao
2024-03-21 03:46:42 +00:00
committed by ob-robot
parent 3e71b83b0f
commit 2ec5e64495

View File

@ -311,6 +311,7 @@ int ObExprSoundex::calc_text(const ObDatum &input_datum,
ObDataBuffer buf_alloc(buf, buf_size);
int64_t block_buf_len = is_oracle_mode
? MIN_RESULT_LENGTH : MAX(MIN_RESULT_LENGTH, input_data.length());
pos = 0;
if (need_charset_convert) {
block_buf = static_cast<char *>(tmp_alloc.alloc(block_buf_len));
} else {