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

Function is_keyword

sql/sql_lex.cc:548–552  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

546*/
547
548bool is_keyword(const char *name, uint len)
549{
550 DBUG_ASSERT(len != 0);
551 return get_hash_symbol(name,len,0)!=0;
552}
553
554/**
555 Check if name is a sql function

Callers 1

Calls 1

get_hash_symbolFunction · 0.85

Tested by

no test coverage detected