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
f22b3a75
Commit
f22b3a75
authored
Dec 22, 2004
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
parents
60b79f2b
8aa60fdd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
8 deletions
+13
-8
ndb/src/ndbapi/Ndbinit.cpp
ndb/src/ndbapi/Ndbinit.cpp
+13
-8
No files found.
ndb/src/ndbapi/Ndbinit.cpp
View file @
f22b3a75
...
...
@@ -204,14 +204,6 @@ Ndb::~Ndb()
TransporterFacade
::
instance
()
->
close
(
theNdbBlockNumber
,
theFirstTransId
);
}
if
(
global_ndb_cluster_connection
!=
0
)
{
theNoOfNdbObjects
--
;
if
(
theNoOfNdbObjects
==
0
){
delete
global_ndb_cluster_connection
;
global_ndb_cluster_connection
=
0
;
}
}
//if
// if (theSchemaConToNdbList != NULL)
// closeSchemaTransaction(theSchemaConToNdbList);
while
(
theConIdleList
!=
NULL
)
...
...
@@ -249,6 +241,19 @@ Ndb::~Ndb()
delete
theImpl
;
/**
* This needs to be put after delete theImpl
* as TransporterFacade::instance is delete by global_ndb_cluster_connection
* and used by theImpl
*/
if
(
global_ndb_cluster_connection
!=
0
)
{
theNoOfNdbObjects
--
;
if
(
theNoOfNdbObjects
==
0
){
delete
global_ndb_cluster_connection
;
global_ndb_cluster_connection
=
0
;
}
}
//if
/**
* This sleep is to make sure that the transporter
* send thread will come in and send any
...
...
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