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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
4fc8961d
Commit
4fc8961d
authored
Apr 30, 2020
by
Oleksandr Byelkin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'connect/10.1' into 10.1
parents
da1fbcb6
41acc81f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
storage/connect/tabxml.cpp
storage/connect/tabxml.cpp
+7
-4
storage/connect/tabxml.h
storage/connect/tabxml.h
+1
-0
No files found.
storage/connect/tabxml.cpp
View file @
4fc8961d
...
...
@@ -813,12 +813,15 @@ bool TDBXML::Initialize(PGLOBAL g)
if
(
Void
)
return
false
;
if
(
Columns
&&
!
Bufdone
)
{
if
(
Columns
)
{
// Allocate the buffers that will contain node values
for
(
colp
=
(
PXMLCOL
)
Columns
;
colp
;
colp
=
(
PXMLCOL
)
colp
->
GetNext
())
if
(
!
colp
->
IsSpecial
())
// Not a pseudo column
if
(
colp
->
AllocBuf
(
g
,
Mode
==
MODE_INSERT
))
return
true
;
if
(
!
colp
->
IsSpecial
())
{
// Not a pseudo column
if
(
!
Bufdone
&&
colp
->
AllocBuf
(
g
,
Mode
==
MODE_INSERT
))
return
true
;
colp
->
Nx
=
colp
->
Sx
=
-
1
;
}
// endif Special
Bufdone
=
true
;
}
// endif Bufdone
...
...
storage/connect/tabxml.h
View file @
4fc8961d
...
...
@@ -157,6 +157,7 @@ class DllExport TDBXML : public TDBASE {
/* Class XMLCOL: XDB table access method column descriptor. */
/***********************************************************************/
class
XMLCOL
:
public
COLBLK
{
friend
class
TDBXML
;
public:
// Constructors
XMLCOL
(
PCOLDEF
cdp
,
PTDB
tdbp
,
PCOL
cprec
,
int
i
,
PCSZ
am
=
"XML"
);
...
...
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