1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-04-18 21:44:02 +03:00

Merge pull request #859 from tntnatbry/string-right-trim2

Follow up to PR 858
This commit is contained in:
Roman Nozdrin 2019-09-11 09:25:26 +03:00 committed by GitHub
commit 0852e316f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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());