Commit 9686848d authored by bar@mysql.com's avatar bar@mysql.com

item_xmlfunc.cc:

  After review minor fixes for bug#16319
  Thanks to Gluh for suggestions.
parent 004854fb
...@@ -1250,7 +1250,6 @@ static MY_XPATH_FUNC my_func_names[] = ...@@ -1250,7 +1250,6 @@ static MY_XPATH_FUNC my_func_names[] =
{"substring" , 9 , 2 , 3 , create_func_substr}, {"substring" , 9 , 2 , 3 , create_func_substr},
{"translate" , 9 , 3 , 3 , 0}, {"translate" , 9 , 3 , 3 , 0},
{"local-name" , 10 , 0 , 1 , 0}, {"local-name" , 10 , 0 , 1 , 0},
{"starts-with" , 11 , 2 , 2 , 0}, {"starts-with" , 11 , 2 , 2 , 0},
{"namespace-uri" , 13 , 0 , 1 , 0}, {"namespace-uri" , 13 , 0 , 1 , 0},
...@@ -1849,7 +1848,6 @@ static int my_xpath_parse_FunctionCall(MY_XPATH *xpath) ...@@ -1849,7 +1848,6 @@ static int my_xpath_parse_FunctionCall(MY_XPATH *xpath)
{ {
if (nargs < func->minargs) if (nargs < func->minargs)
return 0; return 0;
else
goto right_paren; goto right_paren;
} }
args[nargs++]= xpath->item; args[nargs++]= xpath->item;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment