summaryrefslogtreecommitdiff
path: root/sql/item.cc
diff options
context:
space:
mode:
authorbar@gw.udmsearch.izhnet.ru <>2002-03-12 21:37:58 +0400
committerbar@gw.udmsearch.izhnet.ru <>2002-03-12 21:37:58 +0400
commitb37ce8e76944610b92087fe0e04e05f1b60903c8 (patch)
treeaa6dbf1781d8122e350474b0cac9e5ee443426bc /sql/item.cc
parent4237e7ace74c21d007964940f26f5496027d6e3d (diff)
downloadmariadb-git-b37ce8e76944610b92087fe0e04e05f1b60903c8.tar.gz
New ctype functions/macros to support many charsets at a time
Diffstat (limited to 'sql/item.cc')
-rw-r--r--sql/item.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item.cc b/sql/item.cc
index c081fd9dd5f..0c241684474 100644
--- a/sql/item.cc
+++ b/sql/item.cc
@@ -50,7 +50,7 @@ void Item::set_name(char *str,uint length)
name=str; // Used by AS
else
{
- while (length && !isgraph(*str))
+ while (length && !my_isgraph(system_charset_info,*str))
{ // Fix problem with yacc
length--;
str++;
@@ -62,7 +62,7 @@ void Item::set_name(char *str,uint length)
bool Item::eq(const Item *item) const // Only doing this on conds
{
return type() == item->type() && name && item->name &&
- !my_strcasecmp(name,item->name);
+ !my_strcasecmp(system_charset_info,name,item->name);
}
/*