From afd352c84ff789da284ad5d014e5e28d552bd548 Mon Sep 17 00:00:00 2001 From: wangmm0220 Date: Tue, 17 May 2022 15:57:48 +0800 Subject: [PATCH] refactor:add the configuration of dataFormat --- source/client/src/clientSml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/client/src/clientSml.c b/source/client/src/clientSml.c index fe574b8ef6..884756ced9 100644 --- a/source/client/src/clientSml.c +++ b/source/client/src/clientSml.c @@ -1469,7 +1469,7 @@ static SSmlHandle* smlBuildSmlInfo(TAOS* taos, SRequestObj* request, SMLProtocol info->pVgHash = taosHashInit(16, taosGetDefaultHashFunction(TSDB_DATA_TYPE_INT), true, HASH_NO_LOCK); info->dumplicateKey = taosHashInit(32, taosGetDefaultHashFunction(TSDB_DATA_TYPE_BINARY), false, HASH_NO_LOCK); - if(!dataFormat){ + if(!info->dataFormat){ info->colsContainer = taosArrayInit(32, POINTER_BYTES); if(NULL == info->colsContainer){ uError("SML:0x%"PRIx64" create info failed", info->id);