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

Function write_length_encoded_string3

sql-common/client.c:2343–2350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2341
2342
2343static uchar *
2344write_length_encoded_string3(uchar *buf, char *string, size_t length)
2345{
2346 buf= net_store_length(buf, length);
2347 memcpy(buf, string, length);
2348 buf+= length;
2349 return buf;
2350}
2351
2352
2353uchar *

Callers 1

Calls 1

net_store_lengthFunction · 0.85

Tested by

no test coverage detected