fix table encode and decode bug
This commit is contained in:
parent
160725945f
commit
1da4fa6aef
|
@ -48,6 +48,7 @@ void tsdbEncodeTable(STable *pTable, char *buf, int *contLen) {
|
|||
ptr = tdEncodeSchema(ptr, pTable->tagSchema);
|
||||
} else if (pTable->type == TSDB_CHILD_TABLE) {
|
||||
dataRowCpy(ptr, pTable->tagVal);
|
||||
ptr = POINTER_SHIFT(ptr, dataRowLen(pTable->tagVal));
|
||||
} else {
|
||||
ptr = tdEncodeSchema(ptr, pTable->schema);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue