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

Method current_context

sql/sql_lex.h:2610–2613  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2608 bool copy_db_to(char **p_db, size_t *p_db_length) const;
2609
2610 Name_resolution_context *current_context()
2611 {
2612 return context_stack.head();
2613 }
2614 /*
2615 Restore the LEX and THD in case of a parse error.
2616 */

Callers 2

createMethod · 0.80
mysql_new_selectFunction · 0.80

Calls 1

headMethod · 0.45

Tested by

no test coverage detected