1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

Fix ignored qualifiers warnings (-Wignored-qualifiers)

This commit is contained in:
Alexey Antipovsky
2020-11-10 18:11:14 +00:00
parent 4813838df8
commit f4a6294c95
10 changed files with 17 additions and 17 deletions

View File

@ -190,7 +190,7 @@ void AggregateColumn::serialize(messageqcpp::ByteStream& b) const
b << fTimeZone;
//b << fAlias;
b << fTableAlias;
b << static_cast<const ByteStream::doublebyte>(fAsc);
b << static_cast<ByteStream::doublebyte>(fAsc);
if (fConstCol.get() == 0)
b << (uint8_t) ObjectReader::NULL_CLASS;

View File

@ -480,7 +480,7 @@ void CalpontSelectExecutionPlan::serialize(messageqcpp::ByteStream& b) const
b << fVerID;
b << fTraceFlags;
b << fStatementID;
b << static_cast<const ByteStream::byte>(fDistinct);
b << static_cast<ByteStream::byte>(fDistinct);
b << static_cast<uint8_t>(fOverrideLargeSideEstimate);
// for union
@ -500,8 +500,8 @@ 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<ByteStream::byte>(fHasOrderBy);
b << static_cast<ByteStream::byte>(fSpecHandlerProcessed);
b << reinterpret_cast<uint32_t>(fOrderByThreads);
b << static_cast<uint32_t>(fSelectSubList.size());

View File

@ -411,7 +411,7 @@ void CalpontSystemCatalog::TableAliasName::serialize(messageqcpp::ByteStream& b)
b << table;
b << alias;
b << view;
b << static_cast<const ByteStream::doublebyte>(fisColumnStore);
b << static_cast<ByteStream::doublebyte>(fisColumnStore);
}
void CalpontSystemCatalog::TableAliasName::unserialize(messageqcpp::ByteStream& b)

View File

@ -308,7 +308,7 @@ void ConstantColumn::serialize(messageqcpp::ByteStream& b) const
//b << fAlias;
b << fData;
b << fTimeZone;
b << static_cast<const ByteStream::doublebyte>(fReturnAll);
b << static_cast<ByteStream::doublebyte>(fReturnAll);
b << (uint64_t)fResult.intVal;
b << fResult.uintVal;
b << fResult.doubleVal;

View File

@ -83,8 +83,8 @@ void ExistsFilter::serialize(messageqcpp::ByteStream& b) const
else
b << static_cast<ObjectReader::id_t>(ObjectReader::NULL_CLASS);
b << static_cast<const ByteStream::doublebyte>(fNotExists);
b << static_cast<const ByteStream::doublebyte>(fCorrelated);
b << static_cast<ByteStream::doublebyte>(fNotExists);
b << static_cast<ByteStream::doublebyte>(fCorrelated);
}
void ExistsFilter::unserialize(messageqcpp::ByteStream& b)

View File

@ -365,7 +365,7 @@ void SimpleColumn::serialize(messageqcpp::ByteStream& b) const
b << fData;
b << fTableAlias;
b << (uint32_t) fSequence;
b << static_cast<const ByteStream::doublebyte>(fisColumnStore);
b << static_cast<ByteStream::doublebyte>(fisColumnStore);
}
void SimpleColumn::unserialize(messageqcpp::ByteStream& b)