fix(query): fix errors.
This commit is contained in:
parent
aca09788ea
commit
38b30d071e
|
@ -938,7 +938,7 @@ static int32_t tsdbSnapWriteData(STsdbSnapWriter* pWriter, uint8_t* pData, uint3
|
|||
if (pSet) {
|
||||
wSet.diskId = pSet->diskId;
|
||||
wSet.fid = fid;
|
||||
fHead = (SHeadFile){.commitID = pWriter->commitID, .offset = 0, .size = 0, .offset = 0};
|
||||
fHead = (SHeadFile){.commitID = pWriter->commitID, .offset = 0, .size = 0};
|
||||
fData = *pSet->pDataF;
|
||||
fLast = (SLastFile){.commitID = pWriter->commitID, .size = 0};
|
||||
fSma = *pSet->pSmaF;
|
||||
|
|
|
@ -5574,6 +5574,7 @@ int32_t twaFunction(SqlFunctionCtx* pCtx) {
|
|||
if (pCtx->end.key != INT64_MIN) {
|
||||
pInfo->dOutput += twa_get_area(pInfo->p, pCtx->end);
|
||||
pInfo->p = pCtx->end;
|
||||
numOfElems += 1;
|
||||
}
|
||||
|
||||
pInfo->win.ekey = pInfo->p.key;
|
||||
|
|
|
@ -129,6 +129,7 @@ if $data03 != 2 then
|
|||
return -1
|
||||
endi
|
||||
if $data11 != 2.077099980 then
|
||||
print expect 2.077099980, actual: $data11
|
||||
return -1
|
||||
endi
|
||||
if $data12 != 2.077000022 then
|
||||
|
|
Loading…
Reference in New Issue