From 1e34d8ca9a173078e1a82759061c32affbd7b61f Mon Sep 17 00:00:00 2001 From: Jeff Tao Date: Fri, 6 Nov 2020 01:37:59 +0000 Subject: [PATCH] minor changes, dont set terrno --- src/util/src/tref.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/util/src/tref.c b/src/util/src/tref.c index 99d566e2ab..b998dfd43c 100644 --- a/src/util/src/tref.c +++ b/src/util/src/tref.c @@ -398,9 +398,7 @@ static int taosDecRefCount(int rsetId, int64_t rid, int remove) { return -1; } - terrno = 0; hash = rid % pSet->max; - taosLockList(pSet->lockedBy+hash); pNode = pSet->nodeList[hash]; -- GitLab