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

Function dynstr_trunc

mysys/string.c:123–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121
122
123my_bool dynstr_trunc(DYNAMIC_STRING *str, size_t n)
124{
125 str->length-=n;
126 str->str[str->length]= '\0';
127 return FALSE;
128}
129
130/*
131 Concatenates any number of strings, escapes any OS quote in the result then

Callers 4

json_norm_parseFunction · 0.85
run_query_stmtFunction · 0.85

Calls

no outgoing calls

Tested by 1

run_query_stmtFunction · 0.68