提交 0c9a2bf9 编写于 作者: M Minglei Jin

[TS-1177]<fix>(query): use int32_t instead of int16_t to fix integer

overflow
上级 75022669
...@@ -758,7 +758,7 @@ static bool resultRowInterpolated(SResultRow* pResult, SResultTsInterpType type) ...@@ -758,7 +758,7 @@ static bool resultRowInterpolated(SResultRow* pResult, SResultTsInterpType type)
} }
} }
static FORCE_INLINE int32_t getForwardStepsInBlock(int32_t numOfRows, __block_search_fn_t searchFn, TSKEY ekey, int16_t pos, static FORCE_INLINE int32_t getForwardStepsInBlock(int32_t numOfRows, __block_search_fn_t searchFn, TSKEY ekey, int32_t pos,
int16_t order, int64_t *pData) { int16_t order, int64_t *pData) {
int32_t forwardStep = 0; int32_t forwardStep = 0;
...@@ -10106,4 +10106,4 @@ bool queryReadOverCB(void* param) { ...@@ -10106,4 +10106,4 @@ bool queryReadOverCB(void* param) {
return true; return true;
} }
return false; return false;
} }
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册