1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

MCOL-1510: Add CalpontSelectExecutionPlan::serialize() changes.

This commit is contained in:
Roman Nozdrin
2018-09-03 16:28:36 +03:00
parent 07561c43d7
commit 5b682a522e

View File

@ -478,6 +478,7 @@ void CalpontSelectExecutionPlan::serialize(messageqcpp::ByteStream& b) const
b << (uint64_t)fLimitStart;
b << (uint64_t)fLimitNum;
b << static_cast<const ByteStream::byte>(fHasOrderBy);
b << static_cast<const ByteStream::byte>(fSpecHandlerProcessed);
b << static_cast<uint32_t>(fSelectSubList.size());
@ -645,6 +646,7 @@ void CalpontSelectExecutionPlan::unserialize(messageqcpp::ByteStream& b)
b >> (uint64_t&)fLimitStart;
b >> (uint64_t&)fLimitNum;
b >> reinterpret_cast< ByteStream::byte&>(fHasOrderBy);
b >> reinterpret_cast< ByteStream::byte&>(fSpecHandlerProcessed);
// for SELECT subquery
b >> size;