diff options
author | unknown <bar@bar.mysql.r18.ru> | 2003-04-01 14:17:28 +0500 |
---|---|---|
committer | unknown <bar@bar.mysql.r18.ru> | 2003-04-01 14:17:28 +0500 |
commit | 640f31bdc8c9443048a67118c12b1faa967a055b (patch) | |
tree | 3ccf04f1bc69fe8f7036ae58dba5ef66f4b2993e /sql/spatial.cc | |
parent | db628b97a5aef69413b9b429e36c4872897e5693 (diff) | |
download | mariadb-git-640f31bdc8c9443048a67118c12b1faa967a055b.tar.gz |
my_strncasecmp() is not used anymore. Use my_strncoll() instead.
Diffstat (limited to 'sql/spatial.cc')
-rw-r--r-- | sql/spatial.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/spatial.cc b/sql/spatial.cc index df28733782f..c8dfb490a39 100644 --- a/sql/spatial.cc +++ b/sql/spatial.cc @@ -66,7 +66,8 @@ Geometry::GClassInfo *Geometry::find_class(const char *name, size_t len) cur_rt < ci_collection_end; ++cur_rt) { if ((cur_rt->m_name[len] == 0) && - (my_strncasecmp(&my_charset_latin1, cur_rt->m_name, name, len) == 0)) + (my_strnncoll(&my_charset_latin1, (const uchar*)cur_rt->m_name, len, + (const uchar*)name, len) == 0)) { return cur_rt; } |