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
4f7360f3
Commit
4f7360f3
authored
Jul 22, 2005
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - hugo, fix closeTransaction in testPartitioning
parent
21edad59
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
68 additions
and
61 deletions
+68
-61
ndb/test/include/UtilTransactions.hpp
ndb/test/include/UtilTransactions.hpp
+2
-0
ndb/test/src/HugoOperations.cpp
ndb/test/src/HugoOperations.cpp
+1
-5
ndb/test/src/UtilTransactions.cpp
ndb/test/src/UtilTransactions.cpp
+65
-56
No files found.
ndb/test/include/UtilTransactions.hpp
View file @
4f7360f3
...
@@ -28,6 +28,8 @@ public:
...
@@ -28,6 +28,8 @@ public:
UtilTransactions
(
Ndb
*
ndb
,
UtilTransactions
(
Ndb
*
ndb
,
const
char
*
tableName
,
const
char
*
indexName
=
0
);
const
char
*
tableName
,
const
char
*
indexName
=
0
);
int
closeTransaction
(
Ndb
*
);
int
clearTable
(
Ndb
*
,
int
clearTable
(
Ndb
*
,
int
records
=
0
,
int
records
=
0
,
int
parallelism
=
0
);
int
parallelism
=
0
);
...
...
ndb/test/src/HugoOperations.cpp
View file @
4f7360f3
...
@@ -53,11 +53,7 @@ HugoOperations::setTransactionId(Uint64 id){
...
@@ -53,11 +53,7 @@ HugoOperations::setTransactionId(Uint64 id){
int
HugoOperations
::
closeTransaction
(
Ndb
*
pNdb
){
int
HugoOperations
::
closeTransaction
(
Ndb
*
pNdb
){
if
(
pTrans
!=
NULL
){
UtilTransactions
::
closeTransaction
(
pNdb
);
pNdb
->
closeTransaction
(
pTrans
);
pTrans
=
NULL
;
}
pTrans
=
NULL
;
m_result_sets
.
clear
();
m_result_sets
.
clear
();
m_executed_result_sets
.
clear
();
m_executed_result_sets
.
clear
();
...
...
ndb/test/src/UtilTransactions.cpp
View file @
4f7360f3
This diff is collapsed.
Click to expand it.
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