summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorelliot@mysql.com <>2005-08-19 14:49:34 -0400
committerelliot@mysql.com <>2005-08-19 14:49:34 -0400
commitd9efe655ed8f0377725ace8912f0123175d4099d (patch)
treee9b004d2e9d0b322b3e2006b7e0e0733ea5d65f9 /mysys
parent7c99cf1af05aebdae1f44d6df3f4751b4cdb933a (diff)
downloadmariadb-git-d9efe655ed8f0377725ace8912f0123175d4099d.tar.gz
Bug#11338 Fixes from review (identical functionality).
Diffstat (limited to 'mysys')
-rw-r--r--mysys/charset.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/mysys/charset.c b/mysys/charset.c
index df3f1cfa279..3a39fce9437 100644
--- a/mysys/charset.c
+++ b/mysys/charset.c
@@ -663,21 +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'
-}