You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
MCOL-1559 trim strings before compare on equal operator
This commit is contained in:
@ -188,7 +188,8 @@ void PrimitiveProcessor::p_TokenByScan(const TokenByScanRequestHeader* h,
|
||||
{
|
||||
// MCOL-1246 Trim whitespace before match
|
||||
string strData(sig, siglen);
|
||||
boost::trim_right_if(strData, boost::is_any_of(" "));
|
||||
// boost::trim_right_if(strData, boost::is_any_of(" "));
|
||||
boost::algorithm::trim_right(strData);
|
||||
bool gotIt = eqFilter->find(strData) != eqFilter->end();
|
||||
|
||||
if ((h->COP1 == COMPARE_EQ && gotIt) || (h->COP1 == COMPARE_NE &&
|
||||
|
Reference in New Issue
Block a user