提交 4c1db689 编写于 作者: wmmhello's avatar wmmhello

TD-6129<feature> fix json encode error

上级 0e1fab65
...@@ -2693,7 +2693,7 @@ static int32_t getAllTableList(STable* pSuperTable, SArray* list) { ...@@ -2693,7 +2693,7 @@ static int32_t getAllTableList(STable* pSuperTable, SArray* list) {
pRecord = taosHashIterate(pSuperTable->jsonKeyMap, pRecord); pRecord = taosHashIterate(pSuperTable->jsonKeyMap, pRecord);
} }
for (int i = 0; i < taosArrayGetSize(tablist); ++i) { for (int i = 0; i < taosArrayGetSize(tablist); ++i) {
JsonMapValue* p = taosArrayGet(pRecord, i); JsonMapValue* p = taosArrayGet(tablist, i);
STableKeyInfo info = {.pTable = p->table, .lastKey = TSKEY_INITIAL_VAL}; STableKeyInfo info = {.pTable = p->table, .lastKey = TSKEY_INITIAL_VAL};
taosArrayPush(list, &info); taosArrayPush(list, &info);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册