fix issue
This commit is contained in:
parent
084592dc34
commit
9a7ffe38ac
|
@ -536,9 +536,10 @@ static int32_t createTableCacheVal(const SMetaReader* pMetaReader, STableCachedV
|
||||||
int32_t lino = 0;
|
int32_t lino = 0;
|
||||||
STableCachedVal* pVal = taosMemoryMalloc(sizeof(STableCachedVal));
|
STableCachedVal* pVal = taosMemoryMalloc(sizeof(STableCachedVal));
|
||||||
QUERY_CHECK_NULL(pVal, code, lino, _end, terrno);
|
QUERY_CHECK_NULL(pVal, code, lino, _end, terrno);
|
||||||
|
|
||||||
|
pVal->pTags = NULL;
|
||||||
pVal->pName = taosStrdup(pMetaReader->me.name);
|
pVal->pName = taosStrdup(pMetaReader->me.name);
|
||||||
QUERY_CHECK_NULL(pVal->pName, code, lino, _end, terrno);
|
QUERY_CHECK_NULL(pVal->pName, code, lino, _end, terrno);
|
||||||
pVal->pTags = NULL;
|
|
||||||
|
|
||||||
// only child table has tag value
|
// only child table has tag value
|
||||||
if (pMetaReader->me.type == TSDB_CHILD_TABLE) {
|
if (pMetaReader->me.type == TSDB_CHILD_TABLE) {
|
||||||
|
|
Loading…
Reference in New Issue