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

Method field_real

sql/sql_analyse.h:185–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183
184public:
185 field_real(Item* a, select_analyse* b) :field_info(a,b),
186 min_arg(0), max_arg(0), sum(0), sum_sqr(0), max_notzero_dec_len(0)
187 { init_tree(&tree, 0, 0, sizeof(double),
188 (qsort_cmp2) compare_double2, 0, NULL, NULL); }
189
190 void add();
191 void get_opt_type(String*, ha_rows);

Callers

nothing calls this directly

Calls 1

init_treeFunction · 0.85

Tested by

no test coverage detected