MCPcopy Create free account
hub / github.com/MariaDB/server / append_definer

Function append_definer

sql/sql_show.cc:2741–2749  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2739*/
2740
2741bool append_definer(THD *thd, String *buffer, const LEX_CSTRING *definer_user,
2742 const LEX_CSTRING *definer_host)
2743{
2744 return
2745 buffer->append(STRING_WITH_LEN("DEFINER=")) ||
2746 append_identifier(thd, buffer, definer_user) ||
2747 append_at_host(thd, buffer, definer_host) ||
2748 buffer->append(' ');
2749}
2750
2751
2752static int show_create_view(THD *thd, TABLE_LIST *table, String *buff)

Callers 7

view_store_optionsFunction · 0.85
wsrep_alter_query_stringFunction · 0.85
build_trig_stmt_queryFunction · 0.85
create_query_stringFunction · 0.85
get_create_eventMethod · 0.85
show_create_spMethod · 0.85

Calls 3

append_at_hostFunction · 0.85
append_identifierFunction · 0.70
appendMethod · 0.45

Tested by

no test coverage detected