diff options
author | bar@mysql.com <> | 2005-09-16 10:24:37 +0500 |
---|---|---|
committer | bar@mysql.com <> | 2005-09-16 10:24:37 +0500 |
commit | 1d12ac8849c10c77f46ab8b051d881605e1016cf (patch) | |
tree | 0ba6bac6fd72f07908ee95a39ef2031d8ea4080a /sql/password.c | |
parent | a42b5000caf22e1cfafcbc300377e61ecb5a054c (diff) | |
download | mariadb-git-1d12ac8849c10c77f46ab8b051d881605e1016cf.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.
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) |