This commit is contained in:
hjxilinx 2020-05-02 23:00:23 +08:00
parent 45ec7eaf53
commit 60ddf3f955
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }