From d1863c6479087a0ccd0cfa7d69c7f3fd21a8c9ff Mon Sep 17 00:00:00 2001 From: Zach41 Date: Tue, 9 Apr 2024 02:34:03 +0000 Subject: [PATCH] Bugfix of error code overwritten --- src/share/aggregate/min_max.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/share/aggregate/min_max.h b/src/share/aggregate/min_max.h index 873ba03d42..b0e40664c9 100644 --- a/src/share/aggregate/min_max.h +++ b/src/share/aggregate/min_max.h @@ -127,7 +127,9 @@ public: } else if (helper::is_var_len_agg_cell(vec_tc)) { *reinterpret_cast(agg_cell) = reinterpret_cast(data); *reinterpret_cast(agg_cell + sizeof(char *)) = data_len; - set_tmp_var_agg_data(agg_ctx, agg_col_idx, agg_cell); + if (OB_FAIL(set_tmp_var_agg_data(agg_ctx, agg_col_idx, agg_cell))) { + SQL_LOG(WARN, "set agg data failed", K(ret)); + } } else { MEMCPY(agg_cell, data, data_len); }