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

Method alloc_comparators

sql/item_cmpfunc.cc:964–968  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

962
963
964void cmp_item_row::alloc_comparators()
965{
966 if (!comparators)
967 comparators= (cmp_item **) current_thd->calloc(sizeof(cmp_item *)*n);
968}
969
970int cmp_item_row::cmp(Item *arg)
971{

Callers

nothing calls this directly

Calls 1

callocMethod · 0.80

Tested by

no test coverage detected