summaryrefslogtreecommitdiff
path: root/sql/sql_string.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-05-23 10:32:21 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2019-05-23 10:32:21 +0300
commit826f9d4f7e99973cafe7654697d7c50b8b64b76b (patch)
tree8e41c3a90d40c21c37fcbd0658afe7d349865540 /sql/sql_string.h
parente5d71e0b3d3ebd4e69526002720f93d62a3fd641 (diff)
parent31fe70290c54c44231aed881f5138924f32e47c5 (diff)
downloadmariadb-git-826f9d4f7e99973cafe7654697d7c50b8b64b76b.tar.gz
Merge 10.4 into 10.5
Diffstat (limited to 'sql/sql_string.h')
-rw-r--r--sql/sql_string.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sql/sql_string.h b/sql/sql_string.h
index 39555020696..caefee7ec09 100644
--- a/sql/sql_string.h
+++ b/sql/sql_string.h
@@ -16,7 +16,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA */
/* This file is originally from the mysql distribution. Coded by monty */
@@ -159,6 +159,14 @@ public:
{
swap_variables(CHARSET_INFO*, m_charset, other.m_charset);
}
+ /*
+ Collation name without the character set name.
+ For example, in case of "latin1_swedish_ci",
+ this method returns "_swedish_ci".
+ */
+ LEX_CSTRING collation_specific_name() const;
+ bool encoding_allows_reinterpret_as(CHARSET_INFO *cs) const;
+ bool encoding_and_order_allow_reinterpret_as(CHARSET_INFO *cs) const;
};