summaryrefslogtreecommitdiff
path: root/sql/item_xmlfunc.cc
diff options
context:
space:
mode:
authorunknown <gluh@eagle.intranet.mysql.r18.ru>2006-03-01 10:36:22 +0400
committerunknown <gluh@eagle.intranet.mysql.r18.ru>2006-03-01 10:36:22 +0400
commit0466a9094494f3b49d7308b614131894d30ba710 (patch)
tree1ac2258d36c617bbb805ca15b95b5e44ed03352c /sql/item_xmlfunc.cc
parente6ef97c4845ba43c2bf3de27a0604de9b6e8507f (diff)
downloadmariadb-git-0466a9094494f3b49d7308b614131894d30ba710.tar.gz
Bug#16320 XML: extractvalue() won't accept names containing underscores
added '_' to allowed tag body symbols mysql-test/r/xml.result: Bug#16320 XML: extractvalue() won't accept names containing underscores test case mysql-test/t/xml.test: Bug#16320 XML: extractvalue() won't accept names containing underscores test case
Diffstat (limited to 'sql/item_xmlfunc.cc')
-rw-r--r--sql/item_xmlfunc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_xmlfunc.cc b/sql/item_xmlfunc.cc
index aad9e12f6c5..61f7579fa22 100644
--- a/sql/item_xmlfunc.cc
+++ b/sql/item_xmlfunc.cc
@@ -1272,7 +1272,7 @@ my_xident_body(int c)
return (((c) >= 'a' && (c) <= 'z') ||
((c) >= 'A' && (c) <= 'Z') ||
((c) >= '0' && (c) <= '9') ||
- ((c)=='-'));
+ ((c)=='-') || ((c) == '_'));
}