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

Method append_ulonglong

sql/sql_string.cc:479–486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

477
478
479bool String::append_ulonglong(ulonglong val)
480{
481 if (realloc(str_length+MAX_BIGINT_WIDTH+2))
482 return TRUE;
483 char *end= (char*) longlong10_to_str(val, (char*) Ptr + str_length, 10);
484 str_length= end - Ptr;
485 return FALSE;
486}
487
488/*
489 Append a string in the given charset to the string

Callers 1

printMethod · 0.80

Calls 1

longlong10_to_strFunction · 0.85

Tested by

no test coverage detected