1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

A cleanup for MCOL-4064 Make JOIN collation aware

A non-JOIN condition like `WHERE c1=c2` (with c1 and c2 being columns of the
same table) was not collation-aware yet after the main patches for MCOL-4064.

Additionally fixing StrFilterCmd::compare*() to address this.
This commit is contained in:
Alexander Barkov
2020-12-08 13:10:51 +04:00
parent 23df62e337
commit b08d719593
4 changed files with 112 additions and 126 deletions

View File

@ -31,6 +31,9 @@ public:
ConstString(const char *str, size_t length)
:mStr(str), mLength(length)
{ }
explicit ConstString(const std::string &str)
:mStr(str.data()), mLength(str.length())
{ }
const char *str() const { return mStr; }
size_t length() const { return mLength; }
ConstString & rtrimZero()