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
5f50de1a
Commit
5f50de1a
authored
Jan 30, 2007
by
tomas@poseidon.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - added extra valgrind memleak checks to try to track leak
parent
3f2a9eeb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
sql/ha_ndbcluster_binlog.cc
sql/ha_ndbcluster_binlog.cc
+13
-0
No files found.
sql/ha_ndbcluster_binlog.cc
View file @
5f50de1a
...
...
@@ -19,6 +19,10 @@
#ifdef WITH_NDBCLUSTER_STORAGE_ENGINE
#include "ha_ndbcluster.h"
#ifdef HAVE_purify
#include <valgrind/memcheck.h>
#endif
#ifdef HAVE_NDB_BINLOG
#include "rpl_injector.h"
#include "rpl_filter.h"
...
...
@@ -3488,6 +3492,9 @@ pthread_handler_t ndb_binlog_thread_func(void *arg)
pthread_cond_signal
(
&
injector_cond
);
restart:
#ifdef HAVE_purify
VALGRIND_DO_LEAK_CHECK
;
#endif
/*
Main NDB Injector loop
*/
...
...
@@ -3580,6 +3587,9 @@ restart:
}
}
}
#ifdef HAVE_purify
VALGRIND_DO_LEAK_CHECK
;
#endif
{
static
char
db
[]
=
""
;
thd
->
db
=
db
;
...
...
@@ -3946,6 +3956,9 @@ restart:
goto
restart
;
}
err:
#ifdef HAVE_purify
VALGRIND_DO_LEAK_CHECK
;
#endif
sql_print_information
(
"Stopping Cluster Binlog"
);
DBUG_PRINT
(
"info"
,(
"Shutting down cluster binlog thread"
));
thd
->
proc_info
=
"Shutting down"
;
...
...
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