fix issue #525
This commit is contained in:
parent
c00c4c5531
commit
f697e07983
|
@ -3293,7 +3293,13 @@ bool spread_function(SQLFunctionCtx *pCtx) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// do nothing
|
if (pCtx->intermediateBuf[0].dKey > pCtx->intermediateBuf[1].dKey) {
|
||||||
|
pCtx->intermediateBuf[0].dKey = pCtx->intermediateBuf[1].dKey;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (pCtx->intermediateBuf[3].dKey < pCtx->intermediateBuf[2].dKey) {
|
||||||
|
pCtx->intermediateBuf[3].dKey = pCtx->intermediateBuf[2].dKey;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
goto _spread_over;
|
goto _spread_over;
|
||||||
|
|
Loading…
Reference in New Issue