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
c9f7d224
Commit
c9f7d224
authored
17 years ago
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - more test prg fixes (due to small change in scanUpdates impl.)
(autotest tests)
parent
1d1b95f0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
storage/ndb/test/ndbapi/testDict.cpp
storage/ndb/test/ndbapi/testDict.cpp
+2
-2
storage/ndb/test/ndbapi/testIndex.cpp
storage/ndb/test/ndbapi/testIndex.cpp
+2
-2
storage/ndb/test/ndbapi/test_event.cpp
storage/ndb/test/ndbapi/test_event.cpp
+1
-1
No files found.
storage/ndb/test/ndbapi/testDict.cpp
View file @
c9f7d224
...
@@ -679,7 +679,7 @@ int runTestFragmentTypes(NDBT_Context* ctx, NDBT_Step* step){
...
@@ -679,7 +679,7 @@ int runTestFragmentTypes(NDBT_Context* ctx, NDBT_Step* step){
CHECK
(
utilTrans
.
selectCount
(
pNdb
,
64
,
&
count
)
==
0
);
CHECK
(
utilTrans
.
selectCount
(
pNdb
,
64
,
&
count
)
==
0
);
CHECK
(
count
==
records
);
CHECK
(
count
==
records
);
CHECK
(
hugoTrans
.
pkDelRecords
(
pNdb
,
records
/
2
)
==
0
);
CHECK
(
hugoTrans
.
pkDelRecords
(
pNdb
,
records
/
2
)
==
0
);
CHECK
(
hugoTrans
.
scanUpdateRecords
(
pNdb
,
records
)
==
0
);
CHECK
(
hugoTrans
.
scanUpdateRecords
(
pNdb
,
records
/
2
)
==
0
);
CHECK
(
utilTrans
.
selectCount
(
pNdb
,
64
,
&
count
)
==
0
);
CHECK
(
utilTrans
.
selectCount
(
pNdb
,
64
,
&
count
)
==
0
);
CHECK
(
count
==
(
records
/
2
));
CHECK
(
count
==
(
records
/
2
));
...
@@ -857,7 +857,7 @@ int runPkSizes(NDBT_Context* ctx, NDBT_Step* step){
...
@@ -857,7 +857,7 @@ int runPkSizes(NDBT_Context* ctx, NDBT_Step* step){
CHECK
(
utilTrans
.
selectCount
(
pNdb
,
64
,
&
count
)
==
0
);
CHECK
(
utilTrans
.
selectCount
(
pNdb
,
64
,
&
count
)
==
0
);
CHECK
(
count
==
records
);
CHECK
(
count
==
records
);
CHECK
(
hugoTrans
.
pkDelRecords
(
pNdb
,
records
/
2
)
==
0
);
CHECK
(
hugoTrans
.
pkDelRecords
(
pNdb
,
records
/
2
)
==
0
);
CHECK
(
hugoTrans
.
scanUpdateRecords
(
pNdb
,
records
)
==
0
);
CHECK
(
hugoTrans
.
scanUpdateRecords
(
pNdb
,
records
/
2
)
==
0
);
CHECK
(
utilTrans
.
selectCount
(
pNdb
,
64
,
&
count
)
==
0
);
CHECK
(
utilTrans
.
selectCount
(
pNdb
,
64
,
&
count
)
==
0
);
CHECK
(
count
==
(
records
/
2
));
CHECK
(
count
==
(
records
/
2
));
CHECK
(
utilTrans
.
clearTable
(
pNdb
,
records
)
==
0
);
CHECK
(
utilTrans
.
clearTable
(
pNdb
,
records
)
==
0
);
...
...
This diff is collapsed.
Click to expand it.
storage/ndb/test/ndbapi/testIndex.cpp
View file @
c9f7d224
...
@@ -809,7 +809,7 @@ int runSystemRestart1(NDBT_Context* ctx, NDBT_Step* step){
...
@@ -809,7 +809,7 @@ int runSystemRestart1(NDBT_Context* ctx, NDBT_Step* step){
CHECK
(
hugoTrans
.
pkUpdateRecords
(
pNdb
,
records
)
==
0
);
CHECK
(
hugoTrans
.
pkUpdateRecords
(
pNdb
,
records
)
==
0
);
CHECK
(
utilTrans
.
verifyIndex
(
pNdb
,
idxName
,
16
,
false
)
==
0
);
CHECK
(
utilTrans
.
verifyIndex
(
pNdb
,
idxName
,
16
,
false
)
==
0
);
CHECK
(
hugoTrans
.
pkDelRecords
(
pNdb
,
records
/
2
)
==
0
);
CHECK
(
hugoTrans
.
pkDelRecords
(
pNdb
,
records
/
2
)
==
0
);
CHECK
(
hugoTrans
.
scanUpdateRecords
(
pNdb
,
records
)
==
0
);
CHECK
(
hugoTrans
.
scanUpdateRecords
(
pNdb
,
records
/
2
)
==
0
);
CHECK
(
utilTrans
.
verifyIndex
(
pNdb
,
idxName
,
16
,
false
)
==
0
);
CHECK
(
utilTrans
.
verifyIndex
(
pNdb
,
idxName
,
16
,
false
)
==
0
);
CHECK
(
utilTrans
.
clearTable
(
pNdb
,
records
)
==
0
);
CHECK
(
utilTrans
.
clearTable
(
pNdb
,
records
)
==
0
);
CHECK
(
hugoTrans
.
loadTable
(
pNdb
,
records
,
1
)
==
0
);
CHECK
(
hugoTrans
.
loadTable
(
pNdb
,
records
,
1
)
==
0
);
...
@@ -834,7 +834,7 @@ int runSystemRestart1(NDBT_Context* ctx, NDBT_Step* step){
...
@@ -834,7 +834,7 @@ int runSystemRestart1(NDBT_Context* ctx, NDBT_Step* step){
CHECK
(
utilTrans
.
verifyIndex
(
pNdb
,
idxName
,
16
,
false
)
==
0
);
CHECK
(
utilTrans
.
verifyIndex
(
pNdb
,
idxName
,
16
,
false
)
==
0
);
CHECK
(
hugoTrans
.
pkDelRecords
(
pNdb
,
records
/
2
)
==
0
);
CHECK
(
hugoTrans
.
pkDelRecords
(
pNdb
,
records
/
2
)
==
0
);
CHECK
(
utilTrans
.
verifyIndex
(
pNdb
,
idxName
,
16
,
false
)
==
0
);
CHECK
(
utilTrans
.
verifyIndex
(
pNdb
,
idxName
,
16
,
false
)
==
0
);
CHECK
(
hugoTrans
.
scanUpdateRecords
(
pNdb
,
records
)
==
0
);
CHECK
(
hugoTrans
.
scanUpdateRecords
(
pNdb
,
records
/
2
)
==
0
);
CHECK
(
utilTrans
.
verifyIndex
(
pNdb
,
idxName
,
16
,
false
)
==
0
);
CHECK
(
utilTrans
.
verifyIndex
(
pNdb
,
idxName
,
16
,
false
)
==
0
);
CHECK
(
utilTrans
.
clearTable
(
pNdb
,
records
)
==
0
);
CHECK
(
utilTrans
.
clearTable
(
pNdb
,
records
)
==
0
);
CHECK
(
hugoTrans
.
loadTable
(
pNdb
,
records
,
1
)
==
0
);
CHECK
(
hugoTrans
.
loadTable
(
pNdb
,
records
,
1
)
==
0
);
...
...
This diff is collapsed.
Click to expand it.
storage/ndb/test/ndbapi/test_event.cpp
View file @
c9f7d224
...
@@ -1730,7 +1730,7 @@ runScanUpdateUntilStopped(NDBT_Context* ctx, NDBT_Step* step){
...
@@ -1730,7 +1730,7 @@ runScanUpdateUntilStopped(NDBT_Context* ctx, NDBT_Step* step){
HugoTransactions
hugoTrans
(
*
ctx
->
getTab
());
HugoTransactions
hugoTrans
(
*
ctx
->
getTab
());
while
(
ctx
->
isTestStopped
()
==
false
)
while
(
ctx
->
isTestStopped
()
==
false
)
{
{
if
(
hugoTrans
.
scanUpdateRecords
(
GETNDB
(
step
),
records
,
abort
,
if
(
hugoTrans
.
scanUpdateRecords
(
GETNDB
(
step
),
0
,
abort
,
parallelism
)
==
NDBT_FAILED
){
parallelism
)
==
NDBT_FAILED
){
return
NDBT_FAILED
;
return
NDBT_FAILED
;
}
}
...
...
This diff is collapsed.
Click to expand it.
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