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

Merge pull request #970 from LinuxJedi/fix-warnings

Fix warnings found in DEBUG combined build
This commit is contained in:
Roman Nozdrin
2019-12-10 19:26:20 +02:00
committed by GitHub
20 changed files with 62 additions and 41 deletions

View File

@ -67,7 +67,9 @@ boost::shared_ptr<WindowFunctionType> WF_udaf::makeFunction(int id, const string
return func;
}
WF_udaf::WF_udaf(WF_udaf& rhs) : fUDAFContext(rhs.getContext()),
WF_udaf::WF_udaf(WF_udaf& rhs) :
WindowFunctionType(rhs.functionId(), rhs.functionName()),
fUDAFContext(rhs.getContext()),
bInterrupted(rhs.getInterrupted()),
fDistinct(rhs.getDistinct())
{

View File

@ -149,6 +149,12 @@ public:
{
return fFunctionId;
}
const std::string functionName() const
{
return fFunctionName;
}
void functionId(int id)
{
fFunctionId = id;