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
7f1d1900
Commit
7f1d1900
authored
Dec 22, 2004
by
unknown
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
dfaa184d
17ec146c
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 @
7f1d1900
...
...
@@ -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