diff options
author | unknown <bar@mysql.com> | 2005-09-16 10:24:37 +0500 |
---|---|---|
committer | unknown <bar@mysql.com> | 2005-09-16 10:24:37 +0500 |
commit | 7e8b06b75b86535a7fb0cd10d168148d26083e0c (patch) | |
tree | 0ba6bac6fd72f07908ee95a39ef2031d8ea4080a /sql/password.c | |
parent | 2ae2e04b36630dc34045710fd789bdf63b09075f (diff) | |
download | mariadb-git-7e8b06b75b86535a7fb0cd10d168148d26083e0c.tar.gz |
Bug#10504
Character set does not support traditional mode
ctype_utf8.result, ctype_utf8.test:
adding test case.
password.c, mysql_com.h
Changeing octet2hex availability from static to public.
item_strfunc.cc:
Result string is now checked to be well-formed.
Warning/error is generated, depending on sql_mode.
include/mysql_com.h:
Bug#10504
Character set does not support traditional mode
Changeing octet2hex from static to public.
sql/item_strfunc.cc:
Result string is now checked to be well-formed.
Warning/error is generated, depending on sql_mode.
sql/password.c:
Changeing octet2hex from static to public.
mysql-test/t/ctype_utf8.test:
adding test case.
mysql-test/r/ctype_utf8.result:
adding test case.
Diffstat (limited to 'sql/password.c')
-rw-r--r-- | sql/password.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/password.c b/sql/password.c index 60cc0ac0c97..aa05be8c740 100644 --- a/sql/password.c +++ b/sql/password.c @@ -318,8 +318,8 @@ void create_random_string(char *to, uint length, struct rand_struct *rand_st) str, len IN the beginning and the length of the input string */ -static void -octet2hex(char *to, const uint8 *str, uint len) +void +octet2hex(char *to, const unsigned char *str, uint len) { const uint8 *str_end= str + len; for (; str != str_end; ++str) |