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
Part#1 MCOL-495 Make string comparison not case sensitive
Fixing field='str' for long (Dict) string data types.
This commit is contained in:
@ -186,11 +186,11 @@ void PrimitiveProcessor::p_TokenByScan(const TokenByScanRequestHeader* h,
|
||||
|
||||
if (eqFilter)
|
||||
{
|
||||
// MCOL-1246 Trim whitespace before match
|
||||
// TODO MCOL-3536 use CHARSET_INFO* cs for collation
|
||||
// cs->hash_sort(hash_sort(const uchar *key, size_t len, ulong *nr1, ulong *nr2))
|
||||
if (cs != & eqFilter->getCharset())
|
||||
{
|
||||
//throw runtime_error("Collations mismatch: TokenByScanRequestHeader and DicEqualityFilter");
|
||||
}
|
||||
string strData(sig, siglen);
|
||||
boost::trim_right_if(strData, boost::is_any_of(" "));
|
||||
bool gotIt = eqFilter->find(strData) != eqFilter->end();
|
||||
|
||||
if ((h->COP1 == COMPARE_EQ && gotIt) || (h->COP1 == COMPARE_NE &&
|
||||
|
Reference in New Issue
Block a user