[td-168]
This commit is contained in:
parent
45ec7eaf53
commit
60ddf3f955
|
@ -241,7 +241,7 @@ int32_t tsdbGetTableTagVal(TsdbRepoT* repo, STableId* id, int32_t colId, int16_t
|
||||||
}
|
}
|
||||||
|
|
||||||
if (p->type == TSDB_DATA_TYPE_BINARY || p->type == TSDB_DATA_TYPE_NCHAR) {
|
if (p->type == TSDB_DATA_TYPE_BINARY || p->type == TSDB_DATA_TYPE_NCHAR) {
|
||||||
offset += sizeof(int16_t);
|
offset += sizeof(int32_t);
|
||||||
} else {
|
} else {
|
||||||
offset += p->bytes;
|
offset += p->bytes;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue