diff options
author | Alexander Barkov <bar@mariadb.com> | 2020-01-26 20:27:13 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2020-01-28 12:29:23 +0400 |
commit | f1e13fdc8d9e78f4529aa60b6a9b49c6ff063c66 (patch) | |
tree | ce84da1deeea573be5be7db7d739a4c9ba9b40f8 /sql/sp.h | |
parent | dd68ba74f357aca074609cbd77491ed4ba390369 (diff) | |
download | mariadb-git-f1e13fdc8d9e78f4529aa60b6a9b49c6ff063c66.tar.gz |
MDEV-21581 Helper functions and methods for CHARSET_INFO
Diffstat (limited to 'sql/sp.h')
-rw-r--r-- | sql/sp.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,6 @@ /* -*- C++ -*- */ /* Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved. + Copyright (c) 2009, 2020, MariaDB Corporation. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -135,9 +136,8 @@ public: static bool eq_routine_name(const LEX_CSTRING &name1, const LEX_CSTRING &name2) { - return my_strnncoll(system_charset_info, - (const uchar *) name1.str, name1.length, - (const uchar *) name2.str, name2.length) == 0; + return system_charset_info->strnncoll(name1.str, name1.length, + name2.str, name2.length) == 0; } const char *type_str() const { return type_lex_cstring().str; } virtual const char *show_create_routine_col1_caption() const |