diff options
Diffstat (limited to 'sql/spatial.cc')
-rw-r--r-- | sql/spatial.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/spatial.cc b/sql/spatial.cc index 42dd74a697a..acfa4871776 100644 --- a/sql/spatial.cc +++ b/sql/spatial.cc @@ -66,8 +66,7 @@ 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) && - (default_charset_info->strncasecmp(default_charset_info, - cur_rt->m_name, name, len) == 0)) + (my_strncasecmp(&my_charset_latin1, cur_rt->m_name, name, len) == 0)) { return cur_rt; } |