You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-08 14:22:09 +03:00
chore(build): fixes to satisfy clang19 warnings
This commit is contained in:
committed by
Leonid Fedorov
parent
9fd7f342a7
commit
a0bee173f6
@@ -306,14 +306,10 @@ void convertValueNum(const string& str, const CalpontSystemCatalog::ColType& ct,
|
||||
case CalpontSystemCatalog::USMALLINT: v = boost::any_cast<uint16_t>(anyVal); break;
|
||||
|
||||
case CalpontSystemCatalog::MEDINT:
|
||||
case CalpontSystemCatalog::INT:
|
||||
v = boost::any_cast<int32_t>(anyVal);
|
||||
break;
|
||||
case CalpontSystemCatalog::INT: v = boost::any_cast<int32_t>(anyVal); break;
|
||||
|
||||
case CalpontSystemCatalog::UMEDINT:
|
||||
case CalpontSystemCatalog::UINT:
|
||||
v = boost::any_cast<uint32_t>(anyVal);
|
||||
break;
|
||||
case CalpontSystemCatalog::UINT: v = boost::any_cast<uint32_t>(anyVal); break;
|
||||
|
||||
case CalpontSystemCatalog::BIGINT: v = boost::any_cast<long long>(anyVal); break;
|
||||
|
||||
@@ -772,7 +768,6 @@ const JobStepVector doColFilter(const SimpleColumn* sc1, const SimpleColumn* sc2
|
||||
// data list for column 1 step 1 (pcolstep) output
|
||||
AnyDataListSPtr spdl11(new AnyDataList());
|
||||
|
||||
|
||||
JobStepAssociation outJs1;
|
||||
outJs1.outAdd(spdl11);
|
||||
pcs1->outputAssociation(outJs1);
|
||||
@@ -833,7 +828,6 @@ const JobStepVector doColFilter(const SimpleColumn* sc1, const SimpleColumn* sc2
|
||||
// data list for column 1 step 1 (pcolstep) output
|
||||
AnyDataListSPtr spdl11(new AnyDataList());
|
||||
|
||||
|
||||
JobStepAssociation outJs1;
|
||||
outJs1.outAdd(spdl11);
|
||||
pcs1->outputAssociation(outJs1);
|
||||
@@ -1815,7 +1809,8 @@ const JobStepVector doSimpleFilter(SimpleFilter* sf, JobInfo& jobInfo)
|
||||
}
|
||||
|
||||
if (cc->isNull() && (opis == *sop || opisnull == *sop))
|
||||
jobInfo.tableHasIsNull.insert(getTableKey(jobInfo, tbl_oid, alias, sc->schemaName(), view, sc->partitions()));
|
||||
jobInfo.tableHasIsNull.insert(
|
||||
getTableKey(jobInfo, tbl_oid, alias, sc->schemaName(), view, sc->partitions()));
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -2045,11 +2040,11 @@ const JobStepVector doOuterJoinOnFilter(OuterJoinOnFilter* oj, JobInfo& jobInfo)
|
||||
// @bug3037, workaround on join order, wish this can be corrected soon,
|
||||
// cascade outer table attribute.
|
||||
CalpontSystemCatalog::OID tableOid1 = tableOid(sc1, jobInfo.csc);
|
||||
uint64_t tid1 =
|
||||
getTableKey(jobInfo, tableOid1, sc1->tableAlias(), sc1->schemaName(), sc1->viewName(), sc1->partitions());
|
||||
uint64_t tid1 = getTableKey(jobInfo, tableOid1, sc1->tableAlias(), sc1->schemaName(), sc1->viewName(),
|
||||
sc1->partitions());
|
||||
CalpontSystemCatalog::OID tableOid2 = tableOid(sc2, jobInfo.csc);
|
||||
uint64_t tid2 =
|
||||
getTableKey(jobInfo, tableOid2, sc2->tableAlias(), sc2->schemaName(), sc2->viewName(), sc2->partitions());
|
||||
uint64_t tid2 = getTableKey(jobInfo, tableOid2, sc2->tableAlias(), sc2->schemaName(), sc2->viewName(),
|
||||
sc2->partitions());
|
||||
|
||||
if (tablesInOuter.find(tid1) != tablesInOuter.end())
|
||||
sc1->returnAll(true);
|
||||
@@ -2196,7 +2191,8 @@ const JobStepVector doOuterJoinOnFilter(OuterJoinOnFilter* oj, JobInfo& jobInfo)
|
||||
if (sc != NULL)
|
||||
{
|
||||
CalpontSystemCatalog::OID tblOid = tableOid(sc, jobInfo.csc);
|
||||
uint64_t tid = getTableKey(jobInfo, tblOid, sc->tableAlias(), sc->schemaName(), sc->viewName(), sc->partitions());
|
||||
uint64_t tid = getTableKey(jobInfo, tblOid, sc->tableAlias(), sc->schemaName(), sc->viewName(),
|
||||
sc->partitions());
|
||||
|
||||
// skip outer table filters or table not directly involved in the outer join
|
||||
if (tablesInOuter.find(tid) != tablesInOuter.end() || tablesInJoin.find(tid) == tablesInJoin.end())
|
||||
@@ -2427,7 +2423,7 @@ bool tryCombineDictionary(JobStepVector& jsv1, JobStepVector& jsv2, int8_t bop)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool tryCombineDictionaryScan(JobStepVector& jsv1, JobStepVector& jsv2, int8_t bop)
|
||||
bool tryCombineDictionaryScan(JobStepVector& /*jsv1*/, JobStepVector& /*jsv2*/, int8_t /*bop*/)
|
||||
{
|
||||
// disable dictionary scan -- bug3321
|
||||
#if 0
|
||||
|
Reference in New Issue
Block a user