Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
7e6e5e5a
Commit
7e6e5e5a
authored
Dec 14, 2012
by
Ramil Kalimullin
Browse files
Options
Browse Files
Download
Plain Diff
Auto-merge from mysql-5.1.
parents
77604d1b
b92b7a42
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
sql/item_xmlfunc.cc
sql/item_xmlfunc.cc
+5
-1
No files found.
sql/item_xmlfunc.cc
View file @
7e6e5e5a
...
...
@@ -2692,8 +2692,12 @@ int xml_enter(MY_XML_PARSER *st,const char *attr, size_t len)
node
.
parent
=
data
->
parent
;
// Set parent for the new node to old parent
data
->
parent
=
numnodes
;
// Remember current node as new parent
DBUG_ASSERT
(
data
->
level
<=
MAX_LEVEL
);
data
->
pos
[
data
->
level
]
=
numnodes
;
if
(
data
->
level
<
MAX_LEVEL
)
node
.
level
=
data
->
level
++
;
else
return
MY_XML_ERROR
;
node
.
type
=
st
->
current_node_type
;
// TAG or ATTR
node
.
beg
=
attr
;
node
.
end
=
attr
+
len
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment