fix: compile error in windows
This commit is contained in:
parent
adff7af9dd
commit
f3b9c5933f
|
@ -69,7 +69,7 @@ static FORCE_INLINE void taosEncryptPass_c(uint8_t *inBuf, size_t len, char *tar
|
||||||
memcpy(target, buf, TSDB_PASSWORD_LEN);
|
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) {
|
int32_t suffix) {
|
||||||
if (prefix == 0 && suffix == 0) {
|
if (prefix == 0 && suffix == 0) {
|
||||||
return MurmurHash3_32(tbname, tblen);
|
return MurmurHash3_32(tbname, tblen);
|
||||||
|
|
Loading…
Reference in New Issue