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

Method get_effective_with_check

sql/sql_lex.cc:2996–3002  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2994*/
2995
2996uint8 LEX::get_effective_with_check(TABLE_LIST *view)
2997{
2998 if (view->select_lex->master_unit() == &unit &&
2999 which_check_option_applicable())
3000 return (uint8)view->with_check;
3001 return VIEW_CHECK_NONE;
3002}
3003
3004
3005/**

Callers

nothing calls this directly

Calls 1

master_unitMethod · 0.80

Tested by

no test coverage detected