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

Function my_xpath_parse_EqualityOperator

sql/item_xmlfunc.cc:2118–2131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2116 return 1;
2117}
2118static int my_xpath_parse_EqualityOperator(MY_XPATH *xpath)
2119{
2120 if (my_xpath_parse_ne(xpath))
2121 {
2122 xpath->extra= '!';
2123 return 1;
2124 }
2125 if (my_xpath_parse_term(xpath, MY_XPATH_LEX_EQ))
2126 {
2127 xpath->extra= '=';
2128 return 1;
2129 }
2130 return 0;
2131}
2132static int my_xpath_parse_EqualityExpr(MY_XPATH *xpath)
2133{
2134 MY_XPATH_LEX operator_context;

Callers 1

Calls 2

my_xpath_parse_neFunction · 0.85
my_xpath_parse_termFunction · 0.85

Tested by

no test coverage detected