summaryrefslogtreecommitdiff
path: root/sql/spatial.cc
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2003-01-21 21:07:59 +0200
committermonty@mashka.mysql.fi <>2003-01-21 21:07:59 +0200
commit25c393a12ea7264f265f958027d6e0a1735acc77 (patch)
treeb3f7b07e6d74a88c6ef0b3e8f43bc27b784bb24d /sql/spatial.cc
parent6522ee6c9845cf61903592e9a36c78dc4f69f569 (diff)
downloadmariadb-git-25c393a12ea7264f265f958027d6e0a1735acc77.tar.gz
Portability fixes (for windows)
Some changes to the prepared statement protocol to make it easier to use and faster.
Diffstat (limited to 'sql/spatial.cc')
-rw-r--r--sql/spatial.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/spatial.cc b/sql/spatial.cc
index 5c6be3c221c..42dd74a697a 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) &&
- (strncasecmp(cur_rt->m_name, name, len) == 0))
+ (default_charset_info->strncasecmp(default_charset_info,
+ cur_rt->m_name, name, len) == 0))
{
return cur_rt;
}