mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
Fixed uninitialized memory in "runningDifference" function [#CLICKHOUSE-2]
This commit is contained in:
parent
e5729c58b1
commit
cd6a1c9bc9
@ -59,7 +59,10 @@ private:
|
|||||||
for (size_t i = 0; i < size; ++i)
|
for (size_t i = 0; i < size; ++i)
|
||||||
{
|
{
|
||||||
if (null_map && (*null_map)[i])
|
if (null_map && (*null_map)[i])
|
||||||
|
{
|
||||||
|
dst[i] = Dst{};
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (!has_prev_value)
|
if (!has_prev_value)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user