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
21d9c582
Commit
21d9c582
authored
Mar 21, 2014
by
Olivier Bertrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Fix bug MDEV-5928
modified: storage/connect/tabxml.cpp
parent
70e865cc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
storage/connect/tabxml.cpp
storage/connect/tabxml.cpp
+7
-4
No files found.
storage/connect/tabxml.cpp
View file @
21d9c582
...
@@ -1326,14 +1326,11 @@ void XMLCOL::WriteColumn(PGLOBAL g)
...
@@ -1326,14 +1326,11 @@ void XMLCOL::WriteColumn(PGLOBAL g)
if
(
Value
!=
To_Val
)
if
(
Value
!=
To_Val
)
Value
->
SetValue_pval
(
To_Val
,
false
);
// Convert the updated value
Value
->
SetValue_pval
(
To_Val
,
false
);
// Convert the updated value
if
(
Value
->
IsNull
())
return
;
/*********************************************************************/
/*********************************************************************/
/* If a check pass was done while updating, all node contruction */
/* If a check pass was done while updating, all node contruction */
/* has been already one. */
/* has been already one. */
/*********************************************************************/
/*********************************************************************/
if
(
Status
&&
Tdbp
->
Checked
)
{
if
(
Status
&&
Tdbp
->
Checked
&&
!
Value
->
IsNull
()
)
{
assert
(
ColNode
!=
NULL
);
assert
(
ColNode
!=
NULL
);
assert
((
Type
?
(
void
*
)
ValNode
:
(
void
*
)
AttNode
)
!=
NULL
);
assert
((
Type
?
(
void
*
)
ValNode
:
(
void
*
)
AttNode
)
!=
NULL
);
goto
fin
;
goto
fin
;
...
@@ -1346,6 +1343,12 @@ void XMLCOL::WriteColumn(PGLOBAL g)
...
@@ -1346,6 +1343,12 @@ void XMLCOL::WriteColumn(PGLOBAL g)
if
(
Tdbp
->
CheckRow
(
g
,
Nod
||
Tdbp
->
Colname
))
if
(
Tdbp
->
CheckRow
(
g
,
Nod
||
Tdbp
->
Colname
))
longjmp
(
g
->
jumper
[
g
->
jump_level
],
TYPE_AM_XML
);
longjmp
(
g
->
jumper
[
g
->
jump_level
],
TYPE_AM_XML
);
/*********************************************************************/
/* Null values are represented by no node. */
/*********************************************************************/
if
(
Value
->
IsNull
())
return
;
/*********************************************************************/
/*********************************************************************/
/* Find the column and value nodes to update or insert. */
/* Find the column and value nodes to update or insert. */
/*********************************************************************/
/*********************************************************************/
...
...
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