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
eab6dbce
Commit
eab6dbce
authored
Oct 25, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix memory leaks found when valgrinding mysql_client_test
Remove one warning
parent
e193c7bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
tests/mysql_client_test.c
tests/mysql_client_test.c
+7
-1
No files found.
tests/mysql_client_test.c
View file @
eab6dbce
...
...
@@ -14480,6 +14480,7 @@ static void test_bug11718()
printf
(
"return type: %s"
,
(
res
->
fields
[
0
].
type
==
MYSQL_TYPE_DATE
)
?
"DATE"
:
"not DATE"
);
DIE_UNLESS
(
res
->
fields
[
0
].
type
==
MYSQL_TYPE_DATE
);
mysql_free_result
(
res
);
rc
=
mysql_query
(
mysql
,
"drop table t1, t2"
);
myquery
(
rc
);
}
...
...
@@ -14928,6 +14929,8 @@ static void test_bug15613()
DIE_UNLESS
(
field
[
4
].
length
==
255
);
DIE_UNLESS
(
field
[
5
].
length
==
255
);
DIE_UNLESS
(
field
[
6
].
length
==
255
);
mysql_free_result
(
metadata
);
mysql_stmt_free_result
(
stmt
);
/* III. Cleanup */
rc
=
mysql_query
(
mysql
,
"drop table t1"
);
...
...
@@ -15104,6 +15107,9 @@ static void test_bug14169()
if
(
!
opt_silent
)
printf
(
"GROUP_CONCAT() result type %i"
,
field
[
1
].
type
);
DIE_UNLESS
(
field
[
1
].
type
==
MYSQL_TYPE_BLOB
);
mysql_free_result
(
res
);
mysql_stmt_free_result
(
stmt
);
mysql_stmt_close
(
stmt
);
rc
=
mysql_query
(
mysql
,
"drop table t1"
);
myquery
(
rc
);
...
...
@@ -15168,7 +15174,7 @@ static void test_bug15752()
MYSQL
mysql_local
;
int
rc
,
i
;
const
int
ITERATION_COUNT
=
100
;
char
*
query
=
"CALL p1()"
;
c
onst
c
har
*
query
=
"CALL p1()"
;
myheader
(
"test_bug15752"
);
...
...
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