MCPcopy Create free account
hub / github.com/MariaDB/server / append_delim_value

Function append_delim_value

plugin/handler_socket/libhsclient/hstcpcli.cpp:214–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212namespace {
213
214void
215append_delim_value(string_buffer& buf, const char *start, const char *finish)
216{
217 if (start == 0) {
218 /* null */
219 const char t[] = "\t\0";
220 buf.append(t, t + 2);
221 } else {
222 /* non-null */
223 buf.append_literal("\t");
224 escape_string(buf, start, finish);
225 }
226}
227
228};
229

Callers 1

Calls 3

append_literalMethod · 0.80
escape_stringFunction · 0.70
appendMethod · 0.45

Tested by

no test coverage detected