refactor:add the configuration of dataFormat
This commit is contained in:
parent
7c8a728096
commit
afd352c84f
|
@ -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->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);
|
info->dumplicateKey = taosHashInit(32, taosGetDefaultHashFunction(TSDB_DATA_TYPE_BINARY), false, HASH_NO_LOCK);
|
||||||
if(!dataFormat){
|
if(!info->dataFormat){
|
||||||
info->colsContainer = taosArrayInit(32, POINTER_BYTES);
|
info->colsContainer = taosArrayInit(32, POINTER_BYTES);
|
||||||
if(NULL == info->colsContainer){
|
if(NULL == info->colsContainer){
|
||||||
uError("SML:0x%"PRIx64" create info failed", info->id);
|
uError("SML:0x%"PRIx64" create info failed", info->id);
|
||||||
|
|
Loading…
Reference in New Issue