mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
Remove function that was accidently added back
This commit is contained in:
parent
e0f9b8a807
commit
0f75276353
1 changed files with 0 additions and 19 deletions
|
@ -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' */
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue