From 765d1d38d4055d5009246adba6ffa7cd47bd025e Mon Sep 17 00:00:00 2001 From: David Hall Date: Wed, 31 Jul 2019 13:58:50 -0500 Subject: [PATCH] MCOL-174 Handle quoted numerics --- dbcon/mysql/ha_calpont_execplan.cpp | 2 +- utils/funcexp/func_bitwise.cpp | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/dbcon/mysql/ha_calpont_execplan.cpp b/dbcon/mysql/ha_calpont_execplan.cpp index 0fdf1e86b..a557cdad3 100644 --- a/dbcon/mysql/ha_calpont_execplan.cpp +++ b/dbcon/mysql/ha_calpont_execplan.cpp @@ -2899,7 +2899,7 @@ ReturnedColumn* buildReturnedColumn(Item* item, gp_walk_info& gwi, bool& nonSupp String val, *str = item->val_str(&val); string valStr; valStr.assign(str->ptr(), str->length()); - rc = new ConstantColumn(valStr); + rc = new ConstantColumn(valStr, ConstantColumn::NUM); break; } diff --git a/utils/funcexp/func_bitwise.cpp b/utils/funcexp/func_bitwise.cpp index 752c28561..bed4f5dec 100644 --- a/utils/funcexp/func_bitwise.cpp +++ b/utils/funcexp/func_bitwise.cpp @@ -93,10 +93,6 @@ bool getUIntValFromParm( { isNull = true; } - else - { - value = 0; - } } break;