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
585782e0
Commit
585782e0
authored
Mar 21, 2007
by
tomas@whalegate.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #26825 MySQL Server Crashes in high load
- initialize to NULL, to avoid call of free on uninitialized variable
parent
ba74604c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+2
-1
No files found.
sql/ha_ndbcluster.cc
View file @
585782e0
...
@@ -6063,7 +6063,7 @@ int ndbcluster_discover(handlerton *hton, THD* thd, const char *db,
...
@@ -6063,7 +6063,7 @@ int ndbcluster_discover(handlerton *hton, THD* thd, const char *db,
int
error
=
0
;
int
error
=
0
;
NdbError
ndb_error
;
NdbError
ndb_error
;
uint
len
;
uint
len
;
const
void
*
data
;
const
void
*
data
=
NULL
;
Ndb
*
ndb
;
Ndb
*
ndb
;
char
key
[
FN_REFLEN
];
char
key
[
FN_REFLEN
];
DBUG_ENTER
(
"ndbcluster_discover"
);
DBUG_ENTER
(
"ndbcluster_discover"
);
...
@@ -6131,6 +6131,7 @@ int ndbcluster_discover(handlerton *hton, THD* thd, const char *db,
...
@@ -6131,6 +6131,7 @@ int ndbcluster_discover(handlerton *hton, THD* thd, const char *db,
DBUG_RETURN
(
0
);
DBUG_RETURN
(
0
);
err:
err:
my_free
((
char
*
)
data
,
MYF
(
MY_ALLOW_ZERO_PTR
));
if
(
share
)
if
(
share
)
free_share
(
&
share
);
free_share
(
&
share
);
if
(
ndb_error
.
code
)
if
(
ndb_error
.
code
)
...
...
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