diff --git a/dbcon/mysql/ha_calpont_execplan.cpp b/dbcon/mysql/ha_calpont_execplan.cpp index 7d1202ec8..2eda37ba7 100644 --- a/dbcon/mysql/ha_calpont_execplan.cpp +++ b/dbcon/mysql/ha_calpont_execplan.cpp @@ -5227,10 +5227,6 @@ void gp_walk(const Item* item, void* arg) cval.assign(str->ptr(), str->length()); } - // Trim the trailing white space from the constant - // string value in the where clause - boost::trim_right_if(cval, boost::is_any_of(" ")); - gwip->rcWorkStack.push(new ConstantColumn(cval)); (dynamic_cast(gwip->rcWorkStack.top()))->timeZone(gwip->thd->variables.time_zone->get_name()->ptr()); break;