You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
c++17 fix
This commit is contained in:
@ -80,7 +80,7 @@ namespace
|
|||||||
struct cmpTuple
|
struct cmpTuple
|
||||||
{
|
{
|
||||||
bool operator()(boost::tuple<uint32_t, int, mcsv1sdk::mcsv1_UDAF*, std::vector<uint32_t>* > a,
|
bool operator()(boost::tuple<uint32_t, int, mcsv1sdk::mcsv1_UDAF*, std::vector<uint32_t>* > a,
|
||||||
boost::tuple<uint32_t, int, mcsv1sdk::mcsv1_UDAF*, std::vector<uint32_t>* > b)
|
boost::tuple<uint32_t, int, mcsv1sdk::mcsv1_UDAF*, std::vector<uint32_t>* > b) const
|
||||||
{
|
{
|
||||||
uint32_t keya = boost::get<0>(a);
|
uint32_t keya = boost::get<0>(a);
|
||||||
uint32_t keyb = boost::get<0>(b);
|
uint32_t keyb = boost::get<0>(b);
|
||||||
|
@ -261,7 +261,7 @@ typedef FdCountEntry FdCountEntry_t;
|
|||||||
|
|
||||||
struct fdCountCompare
|
struct fdCountCompare
|
||||||
{
|
{
|
||||||
bool operator() (const FdCountEntry_t& lhs, const FdCountEntry_t& rhs)
|
bool operator() (const FdCountEntry_t& lhs, const FdCountEntry_t& rhs) const
|
||||||
{
|
{
|
||||||
return lhs.cnt > rhs.cnt;
|
return lhs.cnt > rhs.cnt;
|
||||||
}
|
}
|
||||||
|
@ -1033,13 +1033,11 @@ int main(int argc, char* argv[])
|
|||||||
if ( moduleName == systemParentOAMModuleName )
|
if ( moduleName == systemParentOAMModuleName )
|
||||||
sysConfigNew->setConfig(dbrmMainProc, "IPAddr", moduleIPAddr);
|
sysConfigNew->setConfig(dbrmMainProc, "IPAddr", moduleIPAddr);
|
||||||
|
|
||||||
//if ( moduleDisableState == oam::ENABLEDSTATE )
|
|
||||||
//{
|
|
||||||
DBRMworkernodeID++;
|
DBRMworkernodeID++;
|
||||||
string DBRMSection = dbrmSubProc + oam.itoa(DBRMworkernodeID);
|
string DBRMSection = dbrmSubProc + oam.itoa(DBRMworkernodeID);
|
||||||
sysConfigNew->setConfig(DBRMSection, "IPAddr", moduleIPAddr);
|
sysConfigNew->setConfig(DBRMSection, "IPAddr", moduleIPAddr);
|
||||||
sysConfigNew->setConfig(DBRMSection, "Module", moduleName);
|
sysConfigNew->setConfig(DBRMSection, "Module", moduleName);
|
||||||
//}
|
|
||||||
} //end of nicID loop
|
} //end of nicID loop
|
||||||
|
|
||||||
//set dbroot assigments
|
//set dbroot assigments
|
||||||
|
Reference in New Issue
Block a user