diff --git a/include/util/tutil.h b/include/util/tutil.h index 6ea27ad85d..32a88b37ec 100644 --- a/include/util/tutil.h +++ b/include/util/tutil.h @@ -69,7 +69,7 @@ static FORCE_INLINE void taosEncryptPass_c(uint8_t *inBuf, size_t len, char *tar memcpy(target, buf, TSDB_PASSWORD_LEN); } -FORCE_INLINE int32_t taosGetTbHashVal(const char *tbname, int32_t tblen, int32_t method, int32_t prefix, +static FORCE_INLINE int32_t taosGetTbHashVal(const char *tbname, int32_t tblen, int32_t method, int32_t prefix, int32_t suffix) { if (prefix == 0 && suffix == 0) { return MurmurHash3_32(tbname, tblen);