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

Method compare_e_row

sql/item_cmpfunc.cc:703–714  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

701
702
703int Arg_comparator::compare_e_row()
704{
705 (*a)->bring_value();
706 (*b)->bring_value();
707 uint n= (*a)->cols();
708 for (uint i= 0; i<n; i++)
709 {
710 if (!comparators[i].compare())
711 return 0;
712 }
713 return 1;
714}
715
716
717void Item_func_truth::print(String *str, enum_query_type query_type)

Callers

nothing calls this directly

Calls 3

bring_valueMethod · 0.45
colsMethod · 0.45
compareMethod · 0.45

Tested by

no test coverage detected