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
1d548703
Commit
1d548703
authored
Feb 15, 2007
by
jonas@eel.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb -
fix ao_ignore behavior change in hugo (affecting testOperations & testTransactions)
parent
0657f1b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
storage/ndb/test/src/HugoOperations.cpp
storage/ndb/test/src/HugoOperations.cpp
+10
-7
No files found.
storage/ndb/test/src/HugoOperations.cpp
View file @
1d548703
...
...
@@ -330,8 +330,8 @@ int HugoOperations::execute_Commit(Ndb* pNdb,
int
check
=
0
;
check
=
pTrans
->
execute
(
Commit
,
eao
);
if
(
check
==
-
1
)
{
const
NdbError
err
=
pTrans
->
getNdbError
();
const
NdbError
err
=
pTrans
->
getNdbError
();
if
(
check
==
-
1
||
err
.
code
)
{
ERR
(
err
);
NdbOperation
*
pOp
=
pTrans
->
getNdbErrorOperation
();
if
(
pOp
!=
NULL
){
...
...
@@ -379,13 +379,16 @@ int HugoOperations::execute_NoCommit(Ndb* pNdb, AbortOption eao){
int
check
;
check
=
pTrans
->
execute
(
NoCommit
,
eao
);
if
(
check
==
-
1
)
{
const
NdbError
err
=
pTrans
->
getNdbError
();
const
NdbError
err
=
pTrans
->
getNdbError
();
if
(
check
==
-
1
||
err
.
code
)
{
ERR
(
err
);
NdbOperation
*
pOp
;
while
((
pOp
=
pTrans
->
getNdbErrorOperation
())
!=
NULL
){
const
NdbOperation
*
pOp
=
pTrans
->
getNdbErrorOperation
();
while
(
pOp
!=
NULL
)
{
const
NdbError
err2
=
pOp
->
getNdbError
();
ERR
(
err2
);
if
(
err2
.
code
)
ERR
(
err2
);
pOp
=
pTrans
->
getNextCompletedOperation
(
pOp
);
}
if
(
err
.
code
==
0
)
return
NDBT_FAILED
;
...
...
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