summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authorunknown <serg@janus.mylan>2007-10-19 00:32:51 +0200
committerunknown <serg@janus.mylan>2007-10-19 00:32:51 +0200
commitfd4ca26dfc9f7b6783d568d319d61a7fefd21ee4 (patch)
tree7f090641023cec494a31ddd05c2109e96555147a /strings
parent59b0303e8e1f458a9c9f7f125687eeb20a928d38 (diff)
downloadmariadb-git-fd4ca26dfc9f7b6783d568d319d61a7fefd21ee4.tar.gz
mysys/my_getopt.c
always process uint/ulong using ulonglong (unsigned) code dbug printout for adjusted option values strings/llstr.c ullstr() - the unsigned brother of llstr() include/m_string.h: ullstr() - the unsigned brother of llstr() mysql-test/t/variables.test: test adjusted for 32bit mysys/my_getopt.c: always process uint/ulong using ulonglong (unsigned) code dbug printout for adjusted option values strings/llstr.c: ullstr() - the unsigned brother of llstr()
Diffstat (limited to 'strings')
-rw-r--r--strings/llstr.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/strings/llstr.c b/strings/llstr.c
index 12aea63e014..678f8b05f39 100644
--- a/strings/llstr.c
+++ b/strings/llstr.c
@@ -32,3 +32,10 @@ char *llstr(longlong value,char *buff)
longlong10_to_str(value,buff,-10);
return buff;
}
+
+char *ullstr(longlong value,char *buff)
+{
+ longlong10_to_str(value,buff,10);
+ return buff;
+}
+