summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authormonty@mishka.local <>2005-08-25 09:03:41 +0300
committermonty@mishka.local <>2005-08-25 09:03:41 +0300
commit6773d2470499a9d762ce760d58e7868caca8664c (patch)
treea93cafab52322a0df905471e9116d426844e9406 /mysys
parent17654cd7af7f3739d97b68c6b5d00aae7d5dc8ce (diff)
downloadmariadb-git-6773d2470499a9d762ce760d58e7868caca8664c.tar.gz
Remove function that was accidently added back
Diffstat (limited to 'mysys')
-rw-r--r--mysys/charset.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/mysys/charset.c b/mysys/charset.c
index d57719673b9..3a39fce9437 100644
--- a/mysys/charset.c
+++ b/mysys/charset.c
@@ -663,22 +663,3 @@ CHARSET_INFO *fs_character_set()
return fs_cset_cache;
}
#endif
-
-/*
- Transforms a string into hex form.
- */
-char *bare_str_to_hex(char *to, const char *from, uint len)
-{
- char *p= to;
- uint i;
- for (i= 0; i < len; i++, p+= 2)
- {
- /* val[i] is char. Casting to uchar helps greatly if val[i] < 0 */
- uint tmp= (uint) (uchar) from[i];
- p[0]= _dig_vec_upper[tmp >> 4];
- p[1]= _dig_vec_upper[tmp & 15];
- }
- *p= 0;
- return p; /* pointer to end 0 of 'to' */
-}
-