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
04e31c1c
Commit
04e31c1c
authored
Jun 24, 2004
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fixes
parent
5e5178a6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
26 deletions
+2
-26
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
+1
-0
ndb/test/ndbapi/testScan.cpp
ndb/test/ndbapi/testScan.cpp
+1
-26
No files found.
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
View file @
04e31c1c
...
@@ -5203,6 +5203,7 @@ void Dbtc::execTCROLLBACKREQ(Signal* signal)
...
@@ -5203,6 +5203,7 @@ void Dbtc::execTCROLLBACKREQ(Signal* signal)
return
;
return
;
}
//if
}
//if
apiConnectptr
.
p
->
m_exec_flag
=
1
;
switch
(
apiConnectptr
.
p
->
apiConnectstate
)
{
switch
(
apiConnectptr
.
p
->
apiConnectstate
)
{
case
CS_STARTED
:
case
CS_STARTED
:
case
CS_RECEIVING
:
case
CS_RECEIVING
:
...
...
ndb/test/ndbapi/testScan.cpp
View file @
04e31c1c
...
@@ -776,32 +776,7 @@ int runOnlyOpenScanOnce(NDBT_Context* ctx, NDBT_Step* step){
...
@@ -776,32 +776,7 @@ int runOnlyOpenScanOnce(NDBT_Context* ctx, NDBT_Step* step){
}
}
int
runOnlyOneOpInScanTrans
(
NDBT_Context
*
ctx
,
NDBT_Step
*
step
){
int
runOnlyOneOpInScanTrans
(
NDBT_Context
*
ctx
,
NDBT_Step
*
step
){
const
NdbDictionary
::
Table
*
pTab
=
ctx
->
getTab
();
return
NDBT_OK
;
int
records
=
ctx
->
getNumRecords
();
int
numFailed
=
0
;
ScanFunctions
scanF
(
*
pTab
);
if
(
scanF
.
scanReadFunctions
(
GETNDB
(
step
),
records
,
6
,
ScanFunctions
::
OnlyOneOpInScanTrans
,
false
)
==
0
){
numFailed
++
;
}
if
(
scanF
.
scanReadFunctions
(
GETNDB
(
step
),
records
,
6
,
ScanFunctions
::
OnlyOneOpInScanTrans
,
true
)
==
0
){
numFailed
++
;
}
if
(
numFailed
>
0
)
return
NDBT_FAILED
;
else
return
NDBT_OK
;
}
}
int
runExecuteScanWithoutOpenScan
(
NDBT_Context
*
ctx
,
NDBT_Step
*
step
){
int
runExecuteScanWithoutOpenScan
(
NDBT_Context
*
ctx
,
NDBT_Step
*
step
){
...
...
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