opti:modify logic for telnet and json in schemaless

This commit is contained in:
wangmm0220 2022-12-09 00:11:05 +08:00
parent 0bc0202952
commit 1c4fa44ed7
1 changed files with 1 additions and 1 deletions

View File

@ -1974,7 +1974,7 @@ static int32_t smlUpdateMeta(SHashObj *metaHash, SArray *metaArray, SArray *cols
size_t tmp = taosArrayGetSize(metaArray);
ASSERT(tmp <= INT16_MAX);
int16_t size = tmp;
taosArrayPush(metaArray, &kv);
taosArrayPush(metaArray, kv);
taosHashPut(metaHash, kv->key, kv->keyLen, &size, SHORT_BYTES);
}
}