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

Method compare_e_real

sql/item_cmpfunc.cc:468–475  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

466}
467
468int Arg_comparator::compare_e_real()
469{
470 double val1= (*a)->val_real();
471 double val2= (*b)->val_real();
472 if ((*a)->null_value || (*b)->null_value)
473 return MY_TEST((*a)->null_value && (*b)->null_value);
474 return MY_TEST(val1 == val2);
475}
476
477int Arg_comparator::compare_e_decimal()
478{

Callers

nothing calls this directly

Calls 1

val_realMethod · 0.45

Tested by

no test coverage detected