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 | 149b3761f26080afa7cfb3d289cc30b47918943e (patch) | |
tree | 0ba6bac6fd72f07908ee95a39ef2031d8ea4080a /include/mysql_com.h | |
parent | 97bea9092e7e2834e8b81899ff085280647587d7 (diff) | |
download | mariadb-git-149b3761f26080afa7cfb3d289cc30b47918943e.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 'include/mysql_com.h')
-rw-r--r-- | include/mysql_com.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mysql_com.h b/include/mysql_com.h index 969fba4a433..c4eb33a6c9a 100644 --- a/include/mysql_com.h +++ b/include/mysql_com.h @@ -409,6 +409,7 @@ my_bool check_scramble(const char *reply, const char *message, const unsigned char *hash_stage2); void get_salt_from_password(unsigned char *res, const char *password); void make_password_from_salt(char *to, const unsigned char *hash_stage2); +void octet2hex(char *to, const unsigned char *str, unsigned int len); /* end of password.c */ |