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

Function find_native_function_builder

sql/item_create.cc:5698–5715  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5696}
5697
5698Create_func *
5699find_native_function_builder(THD *thd, LEX_STRING name)
5700{
5701 Native_func_registry *func;
5702 Create_func *builder= NULL;
5703
5704 /* Thread safe */
5705 func= (Native_func_registry*) my_hash_search(& native_functions_hash,
5706 (uchar*) name.str,
5707 name.length);
5708
5709 if (func)
5710 {
5711 builder= func->builder;
5712 }
5713
5714 return builder;
5715}
5716
5717Create_qfunc *
5718find_qualified_function_builder(THD *thd)

Callers

nothing calls this directly

Calls 1

my_hash_searchFunction · 0.85

Tested by

no test coverage detected