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

Method field_str

sql/sql_analyse.h:113–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111
112public:
113 field_str(Item* a, select_analyse* b) :field_info(a,b),
114 min_arg("",default_charset_info),
115 max_arg("",default_charset_info), sum(0),
116 must_be_blob(0), was_zero_fill(0),
117 was_maybe_zerofill(0), can_be_still_num(1)
118 { init_tree(&tree, 0, 0, sizeof(String), (qsort_cmp2) sortcmp2,
119 0, (tree_element_free) free_string, NULL); };
120
121 void add();
122 void get_opt_type(String*, ha_rows);

Callers

nothing calls this directly

Calls 1

init_treeFunction · 0.85

Tested by

no test coverage detected