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

Function check_mysql50_prefix

sql/sql_table.cc:415–420  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413*/
414
415bool check_mysql50_prefix(const char *name)
416{
417 return (name[0] == '#' &&
418 !strncmp(name, MYSQL50_TABLE_NAME_PREFIX,
419 MYSQL50_TABLE_NAME_PREFIX_LENGTH));
420}
421
422
423/**

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected