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
73b4f5ef
Commit
73b4f5ef
authored
Sep 03, 2004
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed initialization of trans id
parent
92f58a4b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
ndb/src/ndbapi/Ndbif.cpp
ndb/src/ndbapi/Ndbif.cpp
+8
-6
No files found.
ndb/src/ndbapi/Ndbif.cpp
View file @
73b4f5ef
...
...
@@ -185,9 +185,11 @@ Ndb::executeMessage(void* NdbObject,
void
Ndb
::
connected
(
Uint32
ref
)
{
theMyRef
=
ref
;
theNode
=
refToNode
(
theMyRef
);
if
(
theNdbBlockNumber
>=
0
)
theNode
=
refToNode
(
ref
);
Uint64
tBlockNo
=
refToBlock
(
ref
);
if
(
theNdbBlockNumber
>=
0
){
assert
(
theMyRef
==
numberToRef
(
theNdbBlockNumber
,
theNode
));
}
TransporterFacade
*
theFacade
=
TransporterFacade
::
instance
();
int
i
;
...
...
@@ -198,11 +200,11 @@ void Ndb::connected(Uint32 ref)
theNoOfDBnodes
++
;
}
}
theFirstTransId
=
((
Uint64
)
t
heNdbBlockNumber
<<
52
)
+
theFirstTransId
=
((
Uint64
)
t
BlockNo
<<
52
)
+
((
Uint64
)
theNode
<<
40
);
theFirstTransId
+=
theFacade
->
m_max_trans_id
;
// assert(0);
DBUG_PRINT
(
"info"
,(
"connected with ref=%x, id=%d, no_db_nodes=%d, first_trans_id=%
d
"
,
DBUG_PRINT
(
"info"
,(
"connected with ref=%x, id=%d, no_db_nodes=%d, first_trans_id=%
lx
"
,
theMyRef
,
theNode
,
theNoOfDBnodes
,
...
...
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