diff options
author | unknown <bar@noter.intranet.mysql.r18.ru> | 2004-09-25 15:29:33 +0500 |
---|---|---|
committer | unknown <bar@noter.intranet.mysql.r18.ru> | 2004-09-25 15:29:33 +0500 |
commit | 1325786818858aed23bf68c856006fbeb3b19206 (patch) | |
tree | 9403ba9745ae3bb3e45523fd3c5dcce277710279 /include | |
parent | c0bb6a38828434ae2411e4a0cc16786d18936c21 (diff) | |
download | mariadb-git-1325786818858aed23bf68c856006fbeb3b19206.tar.gz |
Incorporating new faster string->number converter functions
into MY_CHARSET_INFO structure.
Diffstat (limited to 'include')
-rw-r--r-- | include/m_ctype.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/m_ctype.h b/include/m_ctype.h index 16490af7fc3..1f42b514a1b 100644 --- a/include/m_ctype.h +++ b/include/m_ctype.h @@ -184,7 +184,8 @@ typedef struct my_charset_handler_st int base, char **e, int *err); double (*strntod)(struct charset_info_st *, char *s, uint l, char **e, int *err); - + longlong (*my_strtoll10)(struct charset_info_st *cs, + const char *nptr, char **endptr, int *error); ulong (*scan)(struct charset_info_st *, const char *b, const char *e, int sq); } MY_CHARSET_HANDLER; @@ -303,6 +304,11 @@ int my_long10_to_str_8bit(CHARSET_INFO *, char *to, uint l, int radix, int my_longlong10_to_str_8bit(CHARSET_INFO *, char *to, uint l, int radix, longlong val); +longlong my_strtoll10_8bit(CHARSET_INFO *cs, + const char *nptr, char **endptr, int *error); +longlong my_strtoll10_ucs2(CHARSET_INFO *cs, + const char *nptr, char **endptr, int *error); + void my_fill_8bit(CHARSET_INFO *cs, char* to, uint l, int fill); my_bool my_like_range_simple(CHARSET_INFO *cs, |