diff options
author | bar@mysql.com <> | 2006-04-19 11:11:47 +0500 |
---|---|---|
committer | bar@mysql.com <> | 2006-04-19 11:11:47 +0500 |
commit | 9686848d646b80a05a818e8ca57ba8ec67b315e7 (patch) | |
tree | f7c82f0d8361792906395252921ab4cf1cd63681 /sql/item_xmlfunc.cc | |
parent | 004854fbdde76babb5109cf118a5083d764c043f (diff) | |
download | mariadb-git-9686848d646b80a05a818e8ca57ba8ec67b315e7.tar.gz |
item_xmlfunc.cc:
After review minor fixes for bug#16319
Thanks to Gluh for suggestions.
Diffstat (limited to 'sql/item_xmlfunc.cc')
-rw-r--r-- | sql/item_xmlfunc.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sql/item_xmlfunc.cc b/sql/item_xmlfunc.cc index 6e5941cccf9..a245e3b1b33 100644 --- a/sql/item_xmlfunc.cc +++ b/sql/item_xmlfunc.cc @@ -1250,7 +1250,6 @@ static MY_XPATH_FUNC my_func_names[] = {"substring" , 9 , 2 , 3 , create_func_substr}, {"translate" , 9 , 3 , 3 , 0}, - {"local-name" , 10 , 0 , 1 , 0}, {"starts-with" , 11 , 2 , 2 , 0}, {"namespace-uri" , 13 , 0 , 1 , 0}, @@ -1849,8 +1848,7 @@ static int my_xpath_parse_FunctionCall(MY_XPATH *xpath) { if (nargs < func->minargs) return 0; - else - goto right_paren; + goto right_paren; } args[nargs++]= xpath->item; if (!my_xpath_parse_term(xpath, MY_XPATH_LEX_COMMA)) |