Skip to content

Commit 42c168d

Browse files
Add SMALLINT case to setOpType, and remove previous change
1 parent eb3c89d commit 42c168d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

dbcon/execplan/predicateoperator.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ void PredicateOperator::setOpType(Type& l, Type& r)
211211
case execplan::CalpontSystemCatalog::INT:
212212
case execplan::CalpontSystemCatalog::MEDINT:
213213
case execplan::CalpontSystemCatalog::TINYINT:
214+
case execplan::CalpontSystemCatalog::SMALLINT:
214215
case execplan::CalpontSystemCatalog::BIGINT:
215216
case execplan::CalpontSystemCatalog::UINT:
216217
case execplan::CalpontSystemCatalog::UMEDINT:
@@ -244,6 +245,7 @@ void PredicateOperator::setOpType(Type& l, Type& r)
244245
case execplan::CalpontSystemCatalog::INT:
245246
case execplan::CalpontSystemCatalog::MEDINT:
246247
case execplan::CalpontSystemCatalog::TINYINT:
248+
case execplan::CalpontSystemCatalog::SMALLINT:
247249
case execplan::CalpontSystemCatalog::BIGINT:
248250
case execplan::CalpontSystemCatalog::UINT:
249251
case execplan::CalpontSystemCatalog::UMEDINT:

dbcon/joblist/jlf_execplantojoblist.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1747,10 +1747,6 @@ const JobStepVector doSimpleFilter(SimpleFilter* sf, JobInfo& jobInfo)
17471747
{
17481748
convertValueNum(constval.safeString(""), ct, isNull, rf, jobInfo.timeZone, value128);
17491749
}
1750-
else if (cc->resultType().colDataType == CalpontSystemCatalog::DECIMAL && cc->resultType().scale > 0)
1751-
{
1752-
convertValueNum(constval.safeString(""), cc->resultType(), isNull, rf, jobInfo.timeZone, value);
1753-
}
17541750
else
17551751
{
17561752
convertValueNum(constval.safeString(""), ct, isNull, rf, jobInfo.timeZone, value);

0 commit comments

Comments
 (0)