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
571d9cdd
Commit
571d9cdd
authored
Oct 21, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge perch.ndb.mysql.com:/home/jonas/src/mysql-4.1
into perch.ndb.mysql.com:/home/jonas/src/mysql-4.1-push
parents
65ef7cc2
740123a4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
1 deletion
+31
-1
ndb/include/kernel/signaldata/DumpStateOrd.hpp
ndb/include/kernel/signaldata/DumpStateOrd.hpp
+2
-0
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
+29
-1
No files found.
ndb/include/kernel/signaldata/DumpStateOrd.hpp
View file @
571d9cdd
...
@@ -98,6 +98,8 @@ public:
...
@@ -98,6 +98,8 @@ public:
StartTcTimer
=
2509
,
StartTcTimer
=
2509
,
StopTcTimer
=
2510
,
StopTcTimer
=
2510
,
StartPeriodicTcTimer
=
2511
,
StartPeriodicTcTimer
=
2511
,
TcStartDumpIndexOpCount
=
2512
,
TcDumpIndexOpCount
=
2513
,
CmvmiDumpConnections
=
2600
,
CmvmiDumpConnections
=
2600
,
CmvmiDumpLongSignalMemory
=
2601
,
CmvmiDumpLongSignalMemory
=
2601
,
CmvmiSetRestartOnErrorInsert
=
2602
,
CmvmiSetRestartOnErrorInsert
=
2602
,
...
...
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
View file @
571d9cdd
...
@@ -4607,6 +4607,7 @@ void Dbtc::copyApi(Signal* signal)
...
@@ -4607,6 +4607,7 @@ void Dbtc::copyApi(Signal* signal)
regTmpApiPtr
->
commitAckMarker
=
RNIL
;
regTmpApiPtr
->
commitAckMarker
=
RNIL
;
regTmpApiPtr
->
firstTcConnect
=
RNIL
;
regTmpApiPtr
->
firstTcConnect
=
RNIL
;
regTmpApiPtr
->
lastTcConnect
=
RNIL
;
regTmpApiPtr
->
lastTcConnect
=
RNIL
;
releaseAllSeizedIndexOperations
(
regTmpApiPtr
);
}
//Dbtc::copyApi()
}
//Dbtc::copyApi()
void
Dbtc
::
unlinkApiConnect
(
Signal
*
signal
)
void
Dbtc
::
unlinkApiConnect
(
Signal
*
signal
)
...
@@ -10134,7 +10135,7 @@ void Dbtc::releaseAbortResources(Signal* signal)
...
@@ -10134,7 +10135,7 @@ void Dbtc::releaseAbortResources(Signal* signal)
// apiConnectptr.p->apiConnectstate = CS_CONNECTED;
// apiConnectptr.p->apiConnectstate = CS_CONNECTED;
apiConnectptr
.
p
->
apiConnectstate
=
CS_ABORTING
;
apiConnectptr
.
p
->
apiConnectstate
=
CS_ABORTING
;
apiConnectptr
.
p
->
abortState
=
AS_IDLE
;
apiConnectptr
.
p
->
abortState
=
AS_IDLE
;
releaseAllSeizedIndexOperations
(
apiConnectptr
.
p
);
if
(
apiConnectptr
.
p
->
m_exec_flag
||
apiConnectptr
.
p
->
apiFailState
==
ZTRUE
){
if
(
apiConnectptr
.
p
->
m_exec_flag
||
apiConnectptr
.
p
->
apiFailState
==
ZTRUE
){
jam
();
jam
();
bool
ok
=
false
;
bool
ok
=
false
;
...
@@ -10707,6 +10708,33 @@ Dbtc::execDUMP_STATE_ORD(Signal* signal)
...
@@ -10707,6 +10708,33 @@ Dbtc::execDUMP_STATE_ORD(Signal* signal)
signal
->
theData
[
0
]
=
TcContinueB
::
ZTRANS_EVENT_REP
;
signal
->
theData
[
0
]
=
TcContinueB
::
ZTRANS_EVENT_REP
;
sendSignalWithDelay
(
cownref
,
GSN_CONTINUEB
,
signal
,
5000
,
1
);
sendSignalWithDelay
(
cownref
,
GSN_CONTINUEB
,
signal
,
5000
,
1
);
}
}
if
(
dumpState
->
args
[
0
]
==
DumpStateOrd
::
TcStartDumpIndexOpCount
)
{
static
int
frequency
=
1
;
if
(
signal
->
getLength
()
>
1
)
frequency
=
signal
->
theData
[
1
];
else
if
(
refToBlock
(
signal
->
getSendersBlockRef
())
!=
DBTC
)
frequency
=
1
;
if
(
frequency
)
{
dumpState
->
args
[
0
]
=
DumpStateOrd
::
TcDumpIndexOpCount
;
execDUMP_STATE_ORD
(
signal
);
dumpState
->
args
[
0
]
=
DumpStateOrd
::
TcStartDumpIndexOpCount
;
Uint32
delay
=
1000
*
(
frequency
>
25
?
25
:
frequency
);
sendSignalWithDelay
(
cownref
,
GSN_DUMP_STATE_ORD
,
signal
,
delay
,
1
);
}
}
if
(
dumpState
->
args
[
0
]
==
DumpStateOrd
::
TcDumpIndexOpCount
)
{
infoEvent
(
"IndexOpCount: pool: %d free: %d"
,
c_theIndexOperationPool
.
getSize
(),
c_theIndexOperationPool
.
getNoOfFree
());
}
}
//Dbtc::execDUMP_STATE_ORD()
}
//Dbtc::execDUMP_STATE_ORD()
void
Dbtc
::
execSET_VAR_REQ
(
Signal
*
signal
)
void
Dbtc
::
execSET_VAR_REQ
(
Signal
*
signal
)
...
...
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