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
a5ce66f4
Commit
a5ce66f4
authored
Dec 13, 2004
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - Fix memory leak in HugoLoad
parent
8ff94e12
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
ndb/test/src/HugoTransactions.cpp
ndb/test/src/HugoTransactions.cpp
+4
-1
No files found.
ndb/test/src/HugoTransactions.cpp
View file @
a5ce66f4
...
...
@@ -865,7 +865,7 @@ HugoTransactions::loadTable(Ndb* pNdb,
g_info
<<
"|- Inserting records..."
<<
endl
;
for
(
int
c
=
0
;
c
<
records
;
){
bool
closeTrans
;
bool
closeTrans
=
true
;
if
(
retryAttempt
>=
retryMax
){
g_info
<<
"Record "
<<
c
<<
" could not be inserted, has retried "
<<
retryAttempt
<<
" times "
<<
endl
;
...
...
@@ -983,6 +983,9 @@ HugoTransactions::loadTable(Ndb* pNdb,
c
=
c
+
batch
;
retryAttempt
=
0
;
}
if
(
pTrans
)
pNdb
->
closeTransaction
(
pTrans
);
return
NDBT_OK
;
}
...
...
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