From db135014958781bfe3e07bd3129d65c59a03e5d4 Mon Sep 17 00:00:00 2001 From: wangmm0220 Date: Mon, 27 Sep 2021 21:06:45 +0800 Subject: [PATCH] TD-6129 add tag-> where logic --- src/common/inc/tdataformat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/inc/tdataformat.h b/src/common/inc/tdataformat.h index 34fed5b3ba..f8cc374eb0 100644 --- a/src/common/inc/tdataformat.h +++ b/src/common/inc/tdataformat.h @@ -473,7 +473,7 @@ static FORCE_INLINE int comparTagId(const void *key1, const void *key2) { } static FORCE_INLINE void *tdGetKVRowValOfCol(SKVRow row, int16_t colId) { - void *ret = taosbsearch(&colId, kvRowColIdx(row), p (row), sizeof(SColIdx), comparTagId, TD_EQ); + void *ret = taosbsearch(&colId, kvRowColIdx(row), kvRowNCols(row), sizeof(SColIdx), comparTagId, TD_EQ); if (ret == NULL) return NULL; return kvRowColVal(row, (SColIdx *)ret); } -- GitLab