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

Method compare

sql/item_cmpfunc.cc:993–1003  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

991
992
993int cmp_item_row::compare(cmp_item *c)
994{
995 cmp_item_row *l_cmp= (cmp_item_row *) c;
996 for (uint i=0; i < n; i++)
997 {
998 int res;
999 if ((res= comparators[i]->compare(l_cmp->comparators[i])))
1000 return res;
1001 }
1002 return 0;
1003}
1004
1005int cmp_item_datetime::cmp(Item *arg)
1006{

Callers 7

compare_rowMethod · 0.45
compare_e_rowMethod · 0.45
is_nullMethod · 0.45
wt_thd_will_wait_forFunction · 0.45
wt_thd_releaseFunction · 0.45
queue_insertFunction · 0.45
_downheapFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected