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
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:
@ -117,6 +117,9 @@ protected:
|
||||
const struct charset_info_st * mCharset;
|
||||
public:
|
||||
Charset(CHARSET_INFO & cs) :mCharset(&cs) { }
|
||||
Charset(CHARSET_INFO *cs)
|
||||
:mCharset(cs ? cs : &my_charset_bin)
|
||||
{ }
|
||||
Charset(uint32_t charsetNumber);
|
||||
CHARSET_INFO & getCharset() const { return *mCharset; }
|
||||
uint32_t hash(const char *data, uint64_t len) const
|
||||
|
@ -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()
|
||||
|
Reference in New Issue
Block a user