提交 5d4d2ec1 编写于 作者: H Haojun Liao

fix(query): replace the min macro.

上级 5ea4c0a7
......@@ -186,7 +186,7 @@ int32_t compareLenPrefixedStr(const void *pLeft, const void *pRight) {
int32_t len1 = varDataLen(pLeft);
int32_t len2 = varDataLen(pRight);
int32_t minLen = MIN(len1, len2);
int32_t minLen = TMIN(len1, len2);
int32_t ret = strncmp(varDataVal(pLeft), varDataVal(pRight), minLen);
if (ret == 0) {
if (len1 == len2) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册