fix(query): replace the min macro.

This commit is contained in:
Haojun Liao 2022-08-25 23:22:04 +08:00
parent 5ea4c0a7c8
commit 5d4d2ec14c
1 changed files with 1 additions and 1 deletions

View File

@ -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) {