fix:error in CI
This commit is contained in:
parent
345b68ccee
commit
c379a35fb3
|
@ -388,8 +388,8 @@ int metaTtlSmaller(SMeta *pMeta, uint64_t ttl, SArray *uidList) {
|
||||||
}
|
}
|
||||||
ttlKey = *(STtlIdxKey *)pKey;
|
ttlKey = *(STtlIdxKey *)pKey;
|
||||||
taosArrayPush(uidList, &ttlKey.uid);
|
taosArrayPush(uidList, &ttlKey.uid);
|
||||||
tdbFree(pKey);
|
|
||||||
}
|
}
|
||||||
|
tdbFree(pKey);
|
||||||
tdbTbcClose(pCur);
|
tdbTbcClose(pCur);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1153,8 +1153,7 @@ int32_t toJsonFunction(SScalarParam *pInput, int32_t inputNum, SScalarParam *pOu
|
||||||
memcpy(tmp, varDataVal(input), varDataLen(input));
|
memcpy(tmp, varDataVal(input), varDataLen(input));
|
||||||
tmp[varDataLen(input)] = 0;
|
tmp[varDataLen(input)] = 0;
|
||||||
if(parseJsontoTagData(tmp, pTagVals, &pTag, NULL)){
|
if(parseJsontoTagData(tmp, pTagVals, &pTag, NULL)){
|
||||||
taosArrayDestroy(pTagVals);
|
tTagNew(pTagVals, 1, true, &pTag);
|
||||||
return TSDB_CODE_FAILED;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue