mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 02:41:59 +00:00
883e0abea1
Reading from the query cache is implemented using processor "SourceFromChunks" which inherits from ISource. The latter has logic which finishes processing (= calls .finish() on the output port + returns Status::Finished) when the derived class returns an empty chunk. If this empty chunk is not the last chunk, i.e. if it is followed by non-empty chunks, the query result will be incorrect. This situation should theoretically never occur in practice but who knows ... To be on the safe side, writing into the query cache now rejects empty chunks and thereby avoids this scenario. |
||
---|---|---|
.. | ||
constraints-on-settings.md | ||
index.md | ||
memory-overcommit.md | ||
merge-tree-settings.md | ||
permissions-for-queries.md | ||
query-complexity.md | ||
settings-formats.md | ||
settings-profiles.md | ||
settings-users.md | ||
settings.md |