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
6fc48d92
Commit
6fc48d92
authored
Nov 23, 2005
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added ndb testcase WritePartialIgnoreError
(currently causes nodefailure)
parent
3a50e99b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
+24
-0
storage/ndb/test/ndbapi/testNdbApi.cpp
storage/ndb/test/ndbapi/testNdbApi.cpp
+20
-0
storage/ndb/test/run-test/daily-basic-tests.txt
storage/ndb/test/run-test/daily-basic-tests.txt
+4
-0
No files found.
storage/ndb/test/ndbapi/testNdbApi.cpp
View file @
6fc48d92
...
...
@@ -1141,6 +1141,21 @@ int runBug_11133(NDBT_Context* ctx, NDBT_Step* step){
return
result
;
}
int
runBug_WritePartialIgnoreError
(
NDBT_Context
*
ctx
,
NDBT_Step
*
step
){
int
result
=
NDBT_OK
;
const
NdbDictionary
::
Table
*
pTab
=
ctx
->
getTab
();
HugoOperations
hugoOps
(
*
pTab
);
Ndb
*
pNdb
=
GETNDB
(
step
);
C2
(
hugoOps
.
startTransaction
(
pNdb
)
==
0
);
C2
(
hugoOps
.
pkWritePartialRecord
(
pNdb
,
0
,
1
)
==
0
);
C2
(
hugoOps
.
execute_Commit
(
pNdb
,
AO_IgnoreError
)
==
0
);
C2
(
hugoOps
.
closeTransaction
(
pNdb
)
==
0
);
return
result
;
}
int
runScan_4006
(
NDBT_Context
*
ctx
,
NDBT_Step
*
step
){
int
result
=
NDBT_OK
;
const
Uint32
max
=
5
;
...
...
@@ -1317,6 +1332,11 @@ TESTCASE("Bug_11133",
INITIALIZER
(
runBug_11133
);
FINALIZER
(
runClearTable
);
}
TESTCASE
(
"Bug_WritePartialIgnoreError"
,
"Test WritePartialIgnoreError
\n
"
){
INITIALIZER
(
runBug_WritePartialIgnoreError
);
FINALIZER
(
runClearTable
);
}
TESTCASE
(
"Scan_4006"
,
"Check that getNdbScanOperation does not get 4006
\n
"
){
INITIALIZER
(
runLoadTable
);
...
...
storage/ndb/test/run-test/daily-basic-tests.txt
View file @
6fc48d92
...
...
@@ -528,6 +528,10 @@ max-time: 500
cmd: testNdbApi
args: -n Scan_4006 T1 D1 D2
max-time: 500
cmd: testNdbApi
args: -n Bug_WritePartialIgnoreError T1
#max-time: 500
#cmd: testInterpreter
#args: T1
...
...
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