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

Method copy_name

sql/sql_class.h:3458–3462  ·  view source on GitHub ↗

Copy the array of characters from the given name into the internal name buffer and initialize entry_name to point to it. */

Source from the content-addressed store, hash-verified

3456 name buffer and initialize entry_name to point to it.
3457 */
3458 void copy_name(const Simple_cstring &name)
3459 {
3460 name.strcpy(name_ptr());
3461 entry_name= Name_string(name_ptr(), name.length());
3462 }
3463
3464 /**
3465 Initialize all members

Callers

nothing calls this directly

Calls 3

Name_stringClass · 0.85
strcpyMethod · 0.80
lengthMethod · 0.45

Tested by

no test coverage detected