You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-4454 "ORDER BY BINARY a" is not like in InnoDB
This commit is contained in:
@ -336,14 +336,7 @@ int StringCompare::operator()(IdbCompare* l, Row::Pointer r1, Row::Pointer r2)
|
||||
if (!cs)
|
||||
cs = l->rowGroup()->getCharset(fSpec.fIndex);
|
||||
|
||||
if (cs->state & MY_CS_BINSORT)
|
||||
{
|
||||
ret = fSpec.fAsc * strncmp(s1, s2, max(len1,len2));
|
||||
}
|
||||
else
|
||||
{
|
||||
ret = fSpec.fAsc * cs->strnncoll(s1, len1, s2, len2);
|
||||
}
|
||||
ret = fSpec.fAsc * cs->strnncollsp(s1, len1, s2, len2);
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user