提交 97616d2a 编写于 作者: H Haojun Liao

[td-225] update the hash func

上级 ce4a2802
......@@ -436,8 +436,8 @@ void taosCacheRelease(SCacheObj *pCacheObj, void **data, bool _remove) {
taosRemoveFromTrashCan(pCacheObj, pNode->pTNodeHeader);
}
} else {
int32_t success = taosHashRemove(pCacheObj->pHashTable, pNode->key, pNode->keySize);
if (success) {
int32_t ret = taosHashRemove(pCacheObj->pHashTable, pNode->key, pNode->keySize);
if (ret == 0) {
if (ref > 0) {
assert(pNode->pTNodeHeader == NULL);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册