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

Method print

sql/item_strfunc.cc:1422–1437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1420
1421
1422void Item_func_trim::print(String *str, enum_query_type query_type)
1423{
1424 if (arg_count == 1)
1425 {
1426 Item_func::print(str, query_type);
1427 return;
1428 }
1429 str->append(Item_func_trim::func_name());
1430 str->append('(');
1431 str->append(mode_name());
1432 str->append(' ');
1433 args[1]->print(str, query_type);
1434 str->append(STRING_WITH_LEN(" from "));
1435 args[0]->print(str, query_type);
1436 str->append(')');
1437}
1438
1439
1440/**

Callers

nothing calls this directly

Calls 6

printFunction · 0.85
append_parenthesizedMethod · 0.80
func_nameFunction · 0.70
appendMethod · 0.45
basic_const_itemMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected