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
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
Show 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,
...
@@ -330,8 +330,8 @@ int HugoOperations::execute_Commit(Ndb* pNdb,
int
check
=
0
;
int
check
=
0
;
check
=
pTrans
->
execute
(
Commit
,
eao
);
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
);
ERR
(
err
);
NdbOperation
*
pOp
=
pTrans
->
getNdbErrorOperation
();
NdbOperation
*
pOp
=
pTrans
->
getNdbErrorOperation
();
if
(
pOp
!=
NULL
){
if
(
pOp
!=
NULL
){
...
@@ -379,13 +379,16 @@ int HugoOperations::execute_NoCommit(Ndb* pNdb, AbortOption eao){
...
@@ -379,13 +379,16 @@ int HugoOperations::execute_NoCommit(Ndb* pNdb, AbortOption eao){
int
check
;
int
check
;
check
=
pTrans
->
execute
(
NoCommit
,
eao
);
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
);
ERR
(
err
);
NdbOperation
*
pOp
;
const
NdbOperation
*
pOp
=
pTrans
->
getNdbErrorOperation
();
while
((
pOp
=
pTrans
->
getNdbErrorOperation
())
!=
NULL
){
while
(
pOp
!=
NULL
)
{
const
NdbError
err2
=
pOp
->
getNdbError
();
const
NdbError
err2
=
pOp
->
getNdbError
();
if
(
err2
.
code
)
ERR
(
err2
);
ERR
(
err2
);
pOp
=
pTrans
->
getNextCompletedOperation
(
pOp
);
}
}
if
(
err
.
code
==
0
)
if
(
err
.
code
==
0
)
return
NDBT_FAILED
;
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