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
77ef82cf
Commit
77ef82cf
authored
Jun 10, 2005
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb -
Fix mem leak in testBlobs
parent
96789d5e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
ndb/test/ndbapi/testBlobs.cpp
ndb/test/ndbapi/testBlobs.cpp
+5
-5
No files found.
ndb/test/ndbapi/testBlobs.cpp
View file @
77ef82cf
...
@@ -1547,11 +1547,11 @@ testperf()
...
@@ -1547,11 +1547,11 @@ testperf()
}
}
if
(
n
!=
0
)
{
if
(
n
!=
0
)
{
CHK
(
g_con
->
execute
(
Commit
)
==
0
);
CHK
(
g_con
->
execute
(
Commit
)
==
0
);
g_ndb
->
closeTransaction
(
g_con
);
g_con
=
0
;
n
=
0
;
n
=
0
;
}
}
g_bh1
=
0
;
g_bh1
=
0
;
g_opr
=
0
;
g_opr
=
0
;
g_con
=
0
;
}
}
// pk read char (one trans)
// pk read char (one trans)
{
{
...
@@ -1575,7 +1575,7 @@ testperf()
...
@@ -1575,7 +1575,7 @@ testperf()
t1
.
off
(
g_opt
.
m_rowsperf
);
t1
.
off
(
g_opt
.
m_rowsperf
);
DBG
(
t1
.
time
());
DBG
(
t1
.
time
());
g_opr
=
0
;
g_opr
=
0
;
g_con
=
0
;
g_
ndb
->
closeTransaction
(
g_con
);
g_
con
=
0
;
}
}
// pk read text (one trans)
// pk read text (one trans)
{
{
...
@@ -1600,7 +1600,7 @@ testperf()
...
@@ -1600,7 +1600,7 @@ testperf()
CHK
(
g_con
->
execute
(
Commit
)
==
0
);
CHK
(
g_con
->
execute
(
Commit
)
==
0
);
t2
.
off
(
g_opt
.
m_rowsperf
);
t2
.
off
(
g_opt
.
m_rowsperf
);
DBG
(
t2
.
time
());
DBG
(
t2
.
time
());
g_opr
=
0
;
g_
ndb
->
closeTransaction
(
g_con
);
g_
opr
=
0
;
g_con
=
0
;
g_con
=
0
;
}
}
// pk read overhead
// pk read overhead
...
@@ -1634,7 +1634,7 @@ testperf()
...
@@ -1634,7 +1634,7 @@ testperf()
CHK
(
n
==
g_opt
.
m_rowsperf
);
CHK
(
n
==
g_opt
.
m_rowsperf
);
t1
.
off
(
g_opt
.
m_rowsperf
);
t1
.
off
(
g_opt
.
m_rowsperf
);
DBG
(
t1
.
time
());
DBG
(
t1
.
time
());
g_ops
=
0
;
g_
ndb
->
closeTransaction
(
g_con
);
g_
ops
=
0
;
g_con
=
0
;
g_con
=
0
;
}
}
// scan read text
// scan read text
...
@@ -1668,7 +1668,7 @@ testperf()
...
@@ -1668,7 +1668,7 @@ testperf()
DBG
(
t2
.
time
());
DBG
(
t2
.
time
());
g_bh1
=
0
;
g_bh1
=
0
;
g_ops
=
0
;
g_ops
=
0
;
g_con
=
0
;
g_
ndb
->
closeTransaction
(
g_con
);
g_
con
=
0
;
}
}
// scan read overhead
// scan read overhead
DBG
(
"scan read overhead: "
<<
t2
.
over
(
t1
));
DBG
(
"scan read overhead: "
<<
t2
.
over
(
t1
));
...
...
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