From 98e90ed9a8980e7952bcaa1ee98d9ecd155a79b9 Mon Sep 17 00:00:00 2001 From: Gagan Goel Date: Tue, 10 Sep 2019 13:27:05 -0400 Subject: [PATCH] Follow up to commit 8513bc0646b9eec6b321f76fabf2842af314a3ef Only trim whitespaces, not tabs --- dbcon/mysql/ha_calpont_execplan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbcon/mysql/ha_calpont_execplan.cpp b/dbcon/mysql/ha_calpont_execplan.cpp index 0822123ee..a74b2abdf 100644 --- a/dbcon/mysql/ha_calpont_execplan.cpp +++ b/dbcon/mysql/ha_calpont_execplan.cpp @@ -5166,7 +5166,7 @@ void gp_walk(const Item* item, void* arg) // Trim the trailing white space from the constant // string value in the where clause - boost::algorithm::trim_right(cval); + 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());