mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 09:02:00 +00:00
Fix capnproto version check for capnp::UnalignedFlatArrayMessageReader
capnp::UnalignedFlatArrayMessageReader was introduced in3aa2b2aa02
(which is a part of 0.7.0 release). Unfortunately, capnp::UnalignedFlatArrayMessageReader was removed in3f0fee61c6
(which is a part of 0.8.0 release) So change CAPNP_VERSION check accordingly.
This commit is contained in:
parent
e9baaa439b
commit
d7627fa4fb
@ -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