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
13c44a91
Commit
13c44a91
authored
Dec 01, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - bug#24717
fixes to testprogram to test new impl. in 5.1
parent
75467cc9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
7 deletions
+13
-7
storage/ndb/include/kernel/signaldata/DumpStateOrd.hpp
storage/ndb/include/kernel/signaldata/DumpStateOrd.hpp
+1
-1
storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp
storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp
+9
-5
storage/ndb/test/ndbapi/testNodeRestart.cpp
storage/ndb/test/ndbapi/testNodeRestart.cpp
+3
-1
No files found.
storage/ndb/include/kernel/signaldata/DumpStateOrd.hpp
View file @
13c44a91
...
...
@@ -141,7 +141,7 @@ public:
TuxSetLogFlags
=
12002
,
TuxMetaDataJunk
=
12009
,
DumpTsman
=
9
002
,
DumpTsman
=
9
800
,
DumpLgman
=
10000
,
DumpPgman
=
11000
};
...
...
storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp
View file @
13c44a91
...
...
@@ -578,6 +578,7 @@ void Cmvmi::execCONNECT_REP(Signal *signal){
/**
* Dont allow api nodes to connect
*/
ndbout_c
(
"%d %d %d"
,
hostId
,
type
,
globalData
.
theStartLevel
);
abort
();
globalTransporterRegistry
.
do_disconnect
(
hostId
);
}
...
...
@@ -1208,6 +1209,8 @@ Cmvmi::execDUMP_STATE_ORD(Signal* signal)
if
(
arg
==
9001
)
{
CLEAR_ERROR_INSERT_VALUE
;
if
(
signal
->
getLength
()
==
1
||
signal
->
theData
[
1
])
{
for
(
Uint32
i
=
0
;
i
<
MAX_NODES
;
i
++
)
{
if
(
c_error_9000_nodes_mask
.
get
(
i
))
...
...
@@ -1217,6 +1220,7 @@ Cmvmi::execDUMP_STATE_ORD(Signal* signal)
EXECUTE_DIRECT
(
CMVMI
,
GSN_OPEN_COMREQ
,
signal
,
2
);
}
}
}
c_error_9000_nodes_mask
.
clear
();
}
#endif
...
...
storage/ndb/test/ndbapi/testNodeRestart.cpp
View file @
13c44a91
...
...
@@ -1005,7 +1005,7 @@ int runBug24717(NDBT_Context* ctx, NDBT_Step* step){
HugoTransactions
hugoTrans
(
*
ctx
->
getTab
());
int
dump
[]
=
{
900
2
,
0
}
;
int
dump
[]
=
{
900
0
,
0
}
;
Uint32
ownNode
=
refToNode
(
pNdb
->
getReference
());
dump
[
1
]
=
ownNode
;
...
...
@@ -1025,6 +1025,8 @@ int runBug24717(NDBT_Context* ctx, NDBT_Step* step){
hugoTrans
.
pkReadRecords
(
pNdb
,
100
,
1
,
NdbOperation
::
LM_CommittedRead
);
}
int
reset
[
2
]
=
{
9001
,
0
};
restarter
.
dumpStateOneNode
(
nodeId
,
reset
,
2
);
restarter
.
waitClusterStarted
();
}
...
...
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