From 3bf7180e681ac88382e475e5ecc0d0adc132e705 Mon Sep 17 00:00:00 2001 From: hjxilinx Date: Sun, 29 Sep 2019 18:27:52 +0800 Subject: [PATCH] fix issue #584 --- src/util/src/tcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/src/tcache.c b/src/util/src/tcache.c index eecf5100c5..2a85068a95 100644 --- a/src/util/src/tcache.c +++ b/src/util/src/tcache.c @@ -611,7 +611,7 @@ void taosRemoveDataFromCache(void *handle, void **data, bool _remove) { *data = NULL; - if (remove) { + if (_remove) { #if defined LINUX pthread_rwlock_wrlock(&pObj->lock); #else -- GitLab