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

Method append

sql/sql_string.cc:420–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418}
419
420bool String::append(const String &s)
421{
422 if (s.length())
423 {
424 if (realloc(str_length+s.length()))
425 return TRUE;
426 memcpy(Ptr+str_length,s.ptr(),s.length());
427 str_length+=s.length();
428 }
429 return FALSE;
430}
431
432
433/*

Callers 15

printMethod · 0.45
make_date_timeFunction · 0.45
printMethod · 0.45
printMethod · 0.45
val_strMethod · 0.45
printMethod · 0.45
printMethod · 0.45
print_argsMethod · 0.45
print_opMethod · 0.45
print_assignmentMethod · 0.45
func_nameMethod · 0.45
push_contextMethod · 0.45

Calls 3

copy_and_convertFunction · 0.85
lengthMethod · 0.45
ptrMethod · 0.45

Tested by

no test coverage detected