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
Part#1 MCOL-495 Make string comparison not case sensitive
Fixing field='str' for long (Dict) string data types.
This commit is contained in:
@ -102,7 +102,28 @@ public:
|
||||
|
||||
typedef std::tr1::unordered_set<int64_t, pcfHasher, pcfEqual> prestored_set_t;
|
||||
typedef std::tr1::unordered_set<int128_t, pcfHasher128, pcfEqual128> prestored_set_t_128;
|
||||
typedef std::tr1::unordered_set<std::string, utils::Hasher> DictEqualityFilter;
|
||||
|
||||
|
||||
class DictEqualityFilter: public std::tr1::unordered_set<std::string,
|
||||
datatypes::CollationAwareHasher,
|
||||
datatypes::CollationAwareComparator>
|
||||
{
|
||||
public:
|
||||
DictEqualityFilter(const datatypes::Charset &cs)
|
||||
:std::tr1::unordered_set<std::string,
|
||||
datatypes::CollationAwareHasher,
|
||||
datatypes::CollationAwareComparator>
|
||||
(10,
|
||||
datatypes::CollationAwareHasher(cs),
|
||||
datatypes::CollationAwareComparator(cs))
|
||||
{ }
|
||||
CHARSET_INFO & getCharset() const
|
||||
{
|
||||
idbassert(& _M_h1.getCharset() == & _M_eq.getCharset());
|
||||
return _M_h1.getCharset();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
struct idb_regex_t
|
||||
{
|
||||
|
Reference in New Issue
Block a user