mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Merge pull request #10618 from matwey/fix/capnproto_version
Fix capnproto version check for capnp::UnalignedFlatArrayMessageReader
This commit is contained in:
commit
3289f89721
@ -240,7 +240,7 @@ bool CapnProtoRowInputFormat::readRow(MutableColumns & columns, RowReadExtension
|
||||
|
||||
auto array = readMessage();
|
||||
|
||||
#if CAPNP_VERSION >= 8000
|
||||
#if CAPNP_VERSION >= 7000 && CAPNP_VERSION < 8000
|
||||
capnp::UnalignedFlatArrayMessageReader msg(array);
|
||||
#else
|
||||
capnp::FlatArrayMessageReader msg(array);
|
||||
|
Loading…
Reference in New Issue
Block a user