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

Method append_args

sql/opt_hints_parser.cc:704–718  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

702
703
704void Parser::Index_level_hint::append_args(THD *thd, String *str) const
705{
706 if (is_empty()) // Empty list of index names, no additional info
707 return;
708
709 bool first_index_name= true;
710 for (const Hint_param_index &index_name : *this)
711 {
712 if (!first_index_name)
713 str->append(STRING_WITH_LEN(","));
714 Lex_ident_sys icli= index_name.to_ident_sys(thd);
715 append_identifier(thd, str, &icli);
716 first_index_name= false;
717 }
718}
719
720
721

Callers 4

append_hint_argumentsMethod · 0.80
print_warnFunction · 0.80
append_hint_argumentsMethod · 0.80
print_irregular_hintsMethod · 0.80

Calls 10

is_emptyFunction · 0.85
append_table_nameFunction · 0.85
ErrConvStringClass · 0.85
to_ident_sysMethod · 0.80
append_identifierFunction · 0.70
appendMethod · 0.45
is_emptyMethod · 0.45
lengthMethod · 0.45
idMethod · 0.45
lex_cstringMethod · 0.45

Tested by

no test coverage detected