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
5b16e6bf
Commit
5b16e6bf
authored
Dec 15, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - bug#25090
add testcase
parent
c9fe45e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
0 deletions
+30
-0
ndb/test/ndbapi/testBasic.cpp
ndb/test/ndbapi/testBasic.cpp
+26
-0
ndb/test/run-test/daily-basic-tests.txt
ndb/test/run-test/daily-basic-tests.txt
+4
-0
No files found.
ndb/test/ndbapi/testBasic.cpp
View file @
5b16e6bf
...
...
@@ -1034,6 +1034,28 @@ runMassiveRollback2(NDBT_Context* ctx, NDBT_Step* step){
return
result
;
}
int
runBug25090
(
NDBT_Context
*
ctx
,
NDBT_Step
*
step
){
Ndb
*
pNdb
=
GETNDB
(
step
);
NdbDictionary
::
Dictionary
*
dict
=
pNdb
->
getDictionary
();
HugoOperations
ops
(
*
ctx
->
getTab
());
int
loops
=
ctx
->
getNumLoops
();
const
int
rows
=
ctx
->
getNumRecords
();
while
(
loops
--
)
{
ops
.
startTransaction
(
pNdb
);
ops
.
pkReadRecord
(
pNdb
,
1
,
1
);
ops
.
execute_Commit
(
pNdb
,
AO_IgnoreError
);
sleep
(
10
);
ops
.
closeTransaction
(
pNdb
);
}
return
NDBT_OK
;
}
NDBT_TESTSUITE
(
testBasic
);
TESTCASE
(
"PkInsert"
,
...
...
@@ -1277,6 +1299,10 @@ TESTCASE("Fill",
INITIALIZER
(
runPkRead
);
FINALIZER
(
runClearTable2
);
}
TESTCASE
(
"Bug25090"
,
"Verify what happens when we fill the db"
){
STEP
(
runBug25090
);
}
NDBT_TESTSUITE_END
(
testBasic
);
#if 0
...
...
ndb/test/run-test/daily-basic-tests.txt
View file @
5b16e6bf
...
...
@@ -211,6 +211,10 @@ max-time: 500
cmd: testTimeout
args: T1
max-time: 500
cmd: testBasic
args: -n Bug25090 T1
# SCAN TESTS
#
max-time: 500
...
...
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