summaryrefslogtreecommitdiff
path: root/strings/ctype-simple.c
diff options
context:
space:
mode:
authorunknown <bar@noter.intranet.mysql.r18.ru>2004-09-25 15:29:33 +0500
committerunknown <bar@noter.intranet.mysql.r18.ru>2004-09-25 15:29:33 +0500
commit8025aaaae50207616308215e24c5e37340ff8e04 (patch)
tree9403ba9745ae3bb3e45523fd3c5dcce277710279 /strings/ctype-simple.c
parent07a74ec221a9e2a50144829667644aa5caeabaf7 (diff)
downloadmariadb-git-8025aaaae50207616308215e24c5e37340ff8e04.tar.gz
Incorporating new faster string->number converter functions
into MY_CHARSET_INFO structure.
Diffstat (limited to 'strings/ctype-simple.c')
-rw-r--r--strings/ctype-simple.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/strings/ctype-simple.c b/strings/ctype-simple.c
index 58535cbfc69..a9c2b07d05b 100644
--- a/strings/ctype-simple.c
+++ b/strings/ctype-simple.c
@@ -1283,6 +1283,12 @@ static my_bool my_coll_init_simple(CHARSET_INFO *cs,
}
+longlong my_strtoll10_8bit(CHARSET_INFO *cs __attribute__((unused)),
+ const char *nptr, char **endptr, int *error)
+{
+ return 0; /* my_strtoll10(nptr, endptr, error); */
+}
+
MY_CHARSET_HANDLER my_charset_8bit_handler=
{
@@ -1309,6 +1315,7 @@ MY_CHARSET_HANDLER my_charset_8bit_handler=
my_strntoll_8bit,
my_strntoull_8bit,
my_strntod_8bit,
+ my_strtoll10_8bit,
my_scan_8bit
};