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

Function my_xpath_parse_AdditiveOperator

sql/item_xmlfunc.cc:2231–2235  ·  view source on GitHub ↗

Scan Additive Expression SYNOPSYS [25] AdditiveExpr ::= MultiplicativeExpr | AdditiveExpr '+' MultiplicativeExpr | AdditiveExpr '-' MultiplicativeExpr RETURN 1 - success 0 - failure */

Source from the content-addressed store, hash-verified

2229 0 - failure
2230*/
2231static int my_xpath_parse_AdditiveOperator(MY_XPATH *xpath)
2232{
2233 return my_xpath_parse_term(xpath, MY_XPATH_LEX_PLUS) ||
2234 my_xpath_parse_term(xpath, MY_XPATH_LEX_MINUS);
2235}
2236static int my_xpath_parse_AdditiveExpr(MY_XPATH *xpath)
2237{
2238 if (!my_xpath_parse_MultiplicativeExpr(xpath))

Callers 1

Calls 1

my_xpath_parse_termFunction · 0.85

Tested by

no test coverage detected