MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / process_bin_arg

Function process_bin_arg

strings/my_vsnprintf.c:212–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210*/
211
212static char *process_bin_arg(char *to, char *end, size_t width, char *par)
213{
214 DBUG_ASSERT(to <= end);
215 if (to + width + 1 > end)
216 width= end - to - 1; /* sign doesn't matter */
217 memmove(to, par, width);
218 to+= width;
219 return to;
220}
221
222
223/**

Callers 2

process_argsFunction · 0.85
my_vsnprintf_exFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected