diff options
author | mysql@home.(none) <> | 2003-03-16 17:19:24 +0400 |
---|---|---|
committer | mysql@home.(none) <> | 2003-03-16 17:19:24 +0400 |
commit | c6efa7a8b7506ad827981a55853acddfcb866f61 (patch) | |
tree | f73c3662ed4bfebf7b1ef0409380b4b6f60a23bd /sql/item_func.cc | |
parent | 5c6c54c09afe1658e03e3c365bb5f84ff2286d37 (diff) | |
download | mariadb-git-c6efa7a8b7506ad827981a55853acddfcb866f61.tar.gz |
New function my_charset_same()
Diffstat (limited to 'sql/item_func.cc')
-rw-r--r-- | sql/item_func.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc index 0361fd0db65..8fb97dc2873 100644 --- a/sql/item_func.cc +++ b/sql/item_func.cc @@ -136,7 +136,7 @@ Item_func::fix_fields(THD *thd, TABLE_LIST *tables, Item **ref) } else if ((*arg)->coercibility < coercibility) { - if (strcmp(charset()->csname,(*arg)->charset()->csname)) + if (!my_charset_same(charset(),(*arg)->charset())) { set_charset(&my_charset_bin); coercibility= COER_NOCOLL; |