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
e6414581
Commit
e6414581
authored
Feb 09, 2005
by
msvensson@neptunus.homeip.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix core dump in ha_ndbcluster::print_results
parent
a995633a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+6
-9
No files found.
sql/ha_ndbcluster.cc
View file @
e6414581
...
...
@@ -2363,11 +2363,10 @@ void ha_ndbcluster::print_results()
String
val
(
buf_val
,
sizeof
(
buf_val
),
&
my_charset_bin
);
for
(
uint
f
=
0
;
f
<
table
->
s
->
fields
;
f
++
)
{
/
/ Use DBUG_PRINT since DBUG_FILE cannot be filtered out
/
* Use DBUG_PRINT since DBUG_FILE cannot be filtered out */
char
buf
[
2000
];
Field
*
field
;
void
*
ptr
;
const
NDBCOL
*
col
=
NULL
;
NdbValue
value
;
NdbBlob
*
ndb_blob
;
...
...
@@ -2380,8 +2379,6 @@ void ha_ndbcluster::print_results()
}
ptr
=
field
->
ptr
;
DBUG_DUMP
(
"field->ptr"
,
(
char
*
)
ptr
,
field
->
pack_length
());
col
=
tab
->
getColumn
(
f
);
if
(
!
(
field
->
flags
&
BLOB_FLAG
))
{
...
...
@@ -2409,7 +2406,7 @@ void ha_ndbcluster::print_results()
}
print_value:
DBUG_PRINT
(
"value"
,
(
"%u,%s: %s"
,
f
,
col
->
getName
()
,
buf
));
DBUG_PRINT
(
"value"
,
(
"%u,%s: %s"
,
f
,
field
->
field_name
,
buf
));
}
#endif
DBUG_VOID_RETURN
;
...
...
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