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
6a3b28c2
Commit
6a3b28c2
authored
Mar 22, 2006
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new
parents
123f5135
8598539e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
7 deletions
+18
-7
storage/ndb/src/kernel/blocks/suma/Suma.cpp
storage/ndb/src/kernel/blocks/suma/Suma.cpp
+18
-7
No files found.
storage/ndb/src/kernel/blocks/suma/Suma.cpp
View file @
6a3b28c2
...
...
@@ -2565,9 +2565,10 @@ Suma::reportAllSubscribers(Signal *signal,
return
;
}
#ifdef VM_TRACE
ndbout_c
(
"reportAllSubscribers"
);
#endif
//#ifdef VM_TRACE
ndbout_c
(
"reportAllSubscribers subPtr.i: %d subPtr.p->n_subscribers: %d"
,
subPtr
.
i
,
subPtr
.
p
->
n_subscribers
);
//#endif
SubTableData
*
data
=
(
SubTableData
*
)
signal
->
getDataPtrSend
();
data
->
gci
=
m_last_complete_gci
+
1
;
data
->
tableId
=
subPtr
.
p
->
m_tableId
;
...
...
@@ -2588,18 +2589,28 @@ Suma::reportAllSubscribers(Signal *signal,
data
->
senderData
=
i_subbPtr
.
p
->
m_senderData
;
sendSignal
(
i_subbPtr
.
p
->
m_senderRef
,
GSN_SUB_TABLE_DATA
,
signal
,
SubTableData
::
SignalLength
,
JBB
);
//#ifdef VM_TRACE
ndbout_c
(
"sent %s(%d) to node %d, req_nodeid: %d senderData: %d"
,
table_event
==
NdbDictionary
::
Event
::
_TE_SUBSCRIBE
?
"SUBSCRIBE"
:
"UNSUBSCRIBE"
,
(
int
)
table_event
,
refToNode
(
i_subbPtr
.
p
->
m_senderRef
),
data
->
req_nodeid
,
data
->
senderData
);
//#endif
if
(
i_subbPtr
.
i
!=
subbPtr
.
i
)
{
data
->
req_nodeid
=
refToNode
(
i_subbPtr
.
p
->
m_senderRef
);
data
->
senderData
=
subbPtr
.
p
->
m_senderData
;
sendSignal
(
subbPtr
.
p
->
m_senderRef
,
GSN_SUB_TABLE_DATA
,
signal
,
SubTableData
::
SignalLength
,
JBB
);
#ifdef VM_TRACE
ndbout_c
(
"sent %s(%d) to node %d"
,
//
#ifdef VM_TRACE
ndbout_c
(
"sent %s(%d) to node %d
, req_nodeid: %d senderData: %d
"
,
table_event
==
NdbDictionary
::
Event
::
_TE_SUBSCRIBE
?
"SUBSCRIBE"
:
"UNSUBSCRIBE"
,
(
int
)
table_event
,
refToNode
(
subbPtr
.
p
->
m_senderRef
));
#endif
refToNode
(
subbPtr
.
p
->
m_senderRef
),
data
->
req_nodeid
,
data
->
senderData
);
//#endif
}
}
}
...
...
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