From 60ddf3f9559a4618dc4aa0c5ae574c5473be5678 Mon Sep 17 00:00:00 2001 From: hjxilinx Date: Sat, 2 May 2020 23:00:23 +0800 Subject: [PATCH] [td-168] --- src/tsdb/src/tsdbMeta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tsdb/src/tsdbMeta.c b/src/tsdb/src/tsdbMeta.c index 3d85a28674..f08eceb4f9 100644 --- a/src/tsdb/src/tsdbMeta.c +++ b/src/tsdb/src/tsdbMeta.c @@ -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) { - offset += sizeof(int16_t); + offset += sizeof(int32_t); } else { offset += p->bytes; }