1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-05 15:41:14 +03:00

Follow up to commit 8513bc0646

Only trim whitespaces, not tabs
This commit is contained in:
Gagan Goel
2019-09-10 13:27:05 -04:00
parent defd075942
commit 98e90ed9a8

View File

@ -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<ConstantColumn*>(gwip->rcWorkStack.top()))->timeZone(gwip->thd->variables.time_zone->get_name()->ptr());