opti:modify logic for telnet and json in schemaless
This commit is contained in:
parent
0bc0202952
commit
1c4fa44ed7
|
@ -1974,7 +1974,7 @@ static int32_t smlUpdateMeta(SHashObj *metaHash, SArray *metaArray, SArray *cols
|
||||||
size_t tmp = taosArrayGetSize(metaArray);
|
size_t tmp = taosArrayGetSize(metaArray);
|
||||||
ASSERT(tmp <= INT16_MAX);
|
ASSERT(tmp <= INT16_MAX);
|
||||||
int16_t size = tmp;
|
int16_t size = tmp;
|
||||||
taosArrayPush(metaArray, &kv);
|
taosArrayPush(metaArray, kv);
|
||||||
taosHashPut(metaHash, kv->key, kv->keyLen, &size, SHORT_BYTES);
|
taosHashPut(metaHash, kv->key, kv->keyLen, &size, SHORT_BYTES);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue