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
01189d96
Commit
01189d96
authored
Mar 26, 2007
by
tomas@whalegate.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #26900 ndb_restore printout option does not give structured data
- set sizes for data
parent
cc475084
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
ndb/tools/restore/Restore.cpp
ndb/tools/restore/Restore.cpp
+5
-1
No files found.
ndb/tools/restore/Restore.cpp
View file @
01189d96
...
...
@@ -454,6 +454,7 @@ RestoreDataIterator::getNextTuple(int & res)
attr_data
->
null
=
false
;
attr_data
->
void_value
=
ptr
;
attr_data
->
size
=
4
*
sz
;
if
(
!
Twiddle
(
attr_desc
,
attr_data
))
{
...
...
@@ -475,6 +476,7 @@ RestoreDataIterator::getNextTuple(int & res)
attr_data
->
null
=
false
;
attr_data
->
void_value
=
ptr
;
attr_data
->
size
=
4
*
sz
;
if
(
!
Twiddle
(
attr_desc
,
attr_data
))
{
...
...
@@ -511,6 +513,7 @@ RestoreDataIterator::getNextTuple(int & res)
attr_data
->
null
=
false
;
attr_data
->
void_value
=
&
data
->
Data
[
0
];
attr_data
->
size
=
sz
*
4
;
/**
* Compute array size
...
...
@@ -979,7 +982,8 @@ operator<<(NdbOut& ndbout, const AttributeS& attr){
}
NdbRecAttr
tmprec
(
0
);
tmprec
.
setup
(
desc
.
m_column
,
(
char
*
)
data
.
void_value
);
tmprec
.
setup
(
desc
.
m_column
,
0
);
tmprec
.
receive_data
((
Uint32
*
)
data
.
void_value
,
(
data
.
size
+
3
)
/
4
);
ndbrecattr_print_formatted
(
ndbout
,
tmprec
,
g_ndbrecord_print_format
);
return
ndbout
;
...
...
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