diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2022-09-21 10:07:09 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2022-09-21 10:07:09 +0300 |
commit | a8e45404765db6bc6c57dab3cc834e92a44d0110 (patch) | |
tree | 901416c2f3931ea4b9df5a1d95e6c358a7954a25 /sql/sql_string.h | |
parent | 4a7367d5282978207ad91e0b595b75a35dc37fec (diff) | |
parent | 4345d9310080e6e4cbf1040263a2653f7d3d9227 (diff) | |
download | mariadb-git-a8e45404765db6bc6c57dab3cc834e92a44d0110.tar.gz |
Merge 10.8 into 10.9
Diffstat (limited to 'sql/sql_string.h')
-rw-r--r-- | sql/sql_string.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/sql_string.h b/sql/sql_string.h index a8c29eba22c..f9fe895b40b 100644 --- a/sql/sql_string.h +++ b/sql/sql_string.h @@ -199,6 +199,10 @@ public: LEX_CSTRING collation_specific_name() const; bool encoding_allows_reinterpret_as(CHARSET_INFO *cs) const; bool eq_collation_specific_names(CHARSET_INFO *cs) const; + bool can_have_collate_clause() const + { + return m_charset != &my_charset_bin; + } }; |