MCPcopy Index your code
hub / github.com/Meituan-Dianping/SQLAdvisor / copy_and_convert

Function copy_and_convert

sql/sql_string.h:117–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115int sortcmp(const String *a,const String *b, const CHARSET_INFO *cs);
116String *copy_if_not_alloced(String *a,String *b,uint32 arg_length);
117inline uint32 copy_and_convert(char *to, uint32 to_length,
118 const CHARSET_INFO *to_cs,
119 const char *from, uint32 from_length,
120 const CHARSET_INFO *from_cs, uint *errors)
121{
122 return my_convert(to, to_length, to_cs, from, from_length, from_cs, errors);
123}
124uint32 well_formed_copy_nchars(const CHARSET_INFO *to_cs,
125 char *to, uint to_length,
126 const CHARSET_INFO *from_cs,

Callers 6

sql_strmake_with_convertFunction · 0.85
err_convFunction · 0.85
net_store_dataMethod · 0.85
convert_stringMethod · 0.85
copyMethod · 0.85
appendMethod · 0.85

Calls 1

my_convertFunction · 0.85

Tested by

no test coverage detected