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
f8c37502
Commit
f8c37502
authored
May 05, 2006
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
do not install ndb slave if no slaves
fixed memleak in ndbcluster_end
parent
135f4ab7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+1
-1
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+2
-2
No files found.
mysql-test/mysql-test-run.pl
View file @
f8c37502
...
...
@@ -1857,7 +1857,7 @@ sub mysql_install_db () {
}
}
if
(
ndbcluster_install_slave
()
)
if
(
$use_slaves
and
ndbcluster_install_slave
()
)
{
if
(
$opt_force
)
{
...
...
sql/ha_ndbcluster.cc
View file @
f8c37502
...
...
@@ -6217,10 +6217,10 @@ static int ndbcluster_end(ha_panic_function type)
#ifdef HAVE_NDB_BINLOG
{
pthread_mutex_lock
(
&
ndbcluster_mutex
);
for
(
uint
i
=
0
;
i
<
ndbcluster_open_tables
.
records
;
i
++
)
while
(
ndbcluster_open_tables
.
records
)
{
NDB_SHARE
*
share
=
(
NDB_SHARE
*
)
hash_element
(
&
ndbcluster_open_tables
,
i
);
(
NDB_SHARE
*
)
hash_element
(
&
ndbcluster_open_tables
,
0
);
#ifndef DBUG_OFF
fprintf
(
stderr
,
"NDB: table share %s with use_count %d not freed
\n
"
,
share
->
key
,
share
->
use_count
);
...
...
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