From 17aedc8714f1d24d273f11595e79d3921a5e9823 Mon Sep 17 00:00:00 2001 From: dmchen Date: Wed, 20 Sep 2023 18:58:35 +0800 Subject: [PATCH] revert dependency --- source/common/src/tmsg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/common/src/tmsg.c b/source/common/src/tmsg.c index 5b363d96de..1426ac01fc 100644 --- a/source/common/src/tmsg.c +++ b/source/common/src/tmsg.c @@ -35,10 +35,10 @@ if(!tDecodeIsEnd(&decoder)){ \ if(tDecodeI32(&decoder, &pReq->sqlLen) < 0) return -1; \ if(pReq->sqlLen > 0){ \ + if (tDecodeBinaryAlloc(&decoder, (void **)&pReq->sql, NULL) < 0) return -1; \ } \ } \ } while (0) -// if (tDecodeBinaryAlloc(&decoder, (void **)&pReq->sql, NULL) < 0) return -1; \ #define ENCODESQL() \ do { \