提交 e8ddb542 编写于 作者: H Hongze Cheng

TD-353

上级 2e3441d1
...@@ -1036,10 +1036,10 @@ static int tsdbEncodeTable(void **buf, STable *pTable) { ...@@ -1036,10 +1036,10 @@ static int tsdbEncodeTable(void **buf, STable *pTable) {
ASSERT(pTable != NULL); ASSERT(pTable != NULL);
int tlen = 0; int tlen = 0;
tlen = taosEncodeFixedU8(buf, pTable->type); tlen += taosEncodeFixedU8(buf, pTable->type);
tlen = tsdbEncodeTableName(buf, pTable->name); tlen += tsdbEncodeTableName(buf, pTable->name);
tlen = taosEncodeFixedU64(buf, TABLE_UID(pTable)); tlen += taosEncodeFixedU64(buf, TABLE_UID(pTable));
tlen = taosEncodeFixedI32(buf, TABLE_TID(pTable)); tlen += taosEncodeFixedI32(buf, TABLE_TID(pTable));
if (TABLE_TYPE(pTable) == TSDB_CHILD_TABLE) { if (TABLE_TYPE(pTable) == TSDB_CHILD_TABLE) {
tlen += taosEncodeFixedU64(buf, TABLE_SUID(pTable)); tlen += taosEncodeFixedU64(buf, TABLE_SUID(pTable));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册