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
6131b282
Commit
6131b282
authored
Mar 11, 2006
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb suma: added some VM_TRACE debug printouts for reposrtSubscribers
parent
485580e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
storage/ndb/src/kernel/blocks/suma/Suma.cpp
storage/ndb/src/kernel/blocks/suma/Suma.cpp
+9
-0
No files found.
storage/ndb/src/kernel/blocks/suma/Suma.cpp
View file @
6131b282
...
@@ -2556,6 +2556,9 @@ Suma::reportAllSubscribers(Signal *signal,
...
@@ -2556,6 +2556,9 @@ Suma::reportAllSubscribers(Signal *signal,
return
;
return
;
}
}
#ifdef VM_TRACE
ndbout_c
(
"reportAllSubscribers"
);
#endif
SubTableData
*
data
=
(
SubTableData
*
)
signal
->
getDataPtrSend
();
SubTableData
*
data
=
(
SubTableData
*
)
signal
->
getDataPtrSend
();
data
->
gci
=
m_last_complete_gci
+
1
;
data
->
gci
=
m_last_complete_gci
+
1
;
data
->
tableId
=
subPtr
.
p
->
m_tableId
;
data
->
tableId
=
subPtr
.
p
->
m_tableId
;
...
@@ -2582,6 +2585,12 @@ Suma::reportAllSubscribers(Signal *signal,
...
@@ -2582,6 +2585,12 @@ Suma::reportAllSubscribers(Signal *signal,
data
->
senderData
=
subbPtr
.
p
->
m_senderData
;
data
->
senderData
=
subbPtr
.
p
->
m_senderData
;
sendSignal
(
subbPtr
.
p
->
m_senderRef
,
GSN_SUB_TABLE_DATA
,
signal
,
sendSignal
(
subbPtr
.
p
->
m_senderRef
,
GSN_SUB_TABLE_DATA
,
signal
,
SubTableData
::
SignalLength
,
JBB
);
SubTableData
::
SignalLength
,
JBB
);
#ifdef VM_TRACE
ndbout_c
(
"sent %s(%d) to node %d"
,
table_event
==
NdbDictionary
::
Event
::
_TE_SUBSCRIBE
?
"SUBSCRIBE"
:
"UNSUBSCRIBE"
,
(
int
)
table_event
,
refToNode
(
subbPtr
.
p
->
m_senderRef
));
#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