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

Method find_by_name

sql/sql_class.h:866–872  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

864 int insert(THD *thd, Statement *statement);
865
866 Statement *find_by_name(LEX_STRING *name)
867 {
868 Statement *stmt;
869 stmt= (Statement*)my_hash_search(&names_hash, (uchar*)name->str,
870 name->length);
871 return stmt;
872 }
873
874 Statement *find(ulong id)
875 {

Callers

nothing calls this directly

Calls 1

my_hash_searchFunction · 0.85

Tested by

no test coverage detected