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
f897c0ce
Commit
f897c0ce
authored
Apr 10, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb -
still some valgrind varnings
parent
e71dceed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
2 deletions
+24
-2
storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp
storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp
+24
-2
No files found.
storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp
View file @
f897c0ce
...
...
@@ -4624,7 +4624,18 @@ NdbDictInterface::get_filegroup(NdbFilegroupImpl & dst,
LinearSectionPtr
ptr
[
1
];
ptr
[
0
].
p
=
(
Uint32
*
)
name
;
ptr
[
0
].
sz
=
(
strLen
+
3
)
/
4
;
#ifndef IGNORE_VALGRIND_WARNINGS
if
(
strLen
&
3
)
{
Uint32
pad
=
0
;
m_buffer
.
clear
();
m_buffer
.
append
(
name
,
strLen
);
m_buffer
.
append
(
&
pad
,
4
);
ptr
[
0
].
p
=
m_buffer
.
get_data
();
}
#endif
int
r
=
dictSignal
(
&
tSignal
,
ptr
,
1
,
-
1
,
// any node
WAIT_GET_TAB_INFO_REQ
,
...
...
@@ -4766,7 +4777,18 @@ NdbDictInterface::get_file(NdbFileImpl & dst,
LinearSectionPtr
ptr
[
1
];
ptr
[
0
].
p
=
(
Uint32
*
)
name
;
ptr
[
0
].
sz
=
(
strLen
+
3
)
/
4
;
#ifndef IGNORE_VALGRIND_WARNINGS
if
(
strLen
&
3
)
{
Uint32
pad
=
0
;
m_buffer
.
clear
();
m_buffer
.
append
(
name
,
strLen
);
m_buffer
.
append
(
&
pad
,
4
);
ptr
[
0
].
p
=
m_buffer
.
get_data
();
}
#endif
int
r
=
dictSignal
(
&
tSignal
,
ptr
,
1
,
node
,
WAIT_GET_TAB_INFO_REQ
,
...
...
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