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
36c992b2
Commit
36c992b2
authored
Feb 10, 2005
by
konstantin@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Follow-up for bug#7990
parent
4b2b327d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
libmysql/libmysql.c
libmysql/libmysql.c
+5
-5
tests/mysql_client_test.c
tests/mysql_client_test.c
+1
-0
No files found.
libmysql/libmysql.c
View file @
36c992b2
...
...
@@ -4518,17 +4518,17 @@ my_bool STDCALL mysql_stmt_close(MYSQL_STMT *stmt)
if
(
mysql
)
{
mysql
->
stmts
=
list_delete
(
mysql
->
stmts
,
&
stmt
->
list
);
/*
Clear NET error state: if the following commands come through
successfully, connection will still be usable for other commands.
*/
net_clear_error
(
&
mysql
->
net
);
if
((
int
)
stmt
->
state
>
(
int
)
MYSQL_STMT_INIT_DONE
)
{
char
buff
[
MYSQL_STMT_HEADER
];
/* 4 bytes - stmt id */
if
(
mysql
->
unbuffered_fetch_owner
==
&
stmt
->
unbuffered_fetch_cancelled
)
mysql
->
unbuffered_fetch_owner
=
0
;
/*
Clear NET error state: if the following commands come through
successfully, connection will still be usable for other commands.
*/
net_clear_error
(
&
mysql
->
net
);
if
(
mysql
->
status
!=
MYSQL_STATUS_READY
)
{
/*
...
...
tests/mysql_client_test.c
View file @
36c992b2
...
...
@@ -11813,6 +11813,7 @@ static struct my_tests_st my_tests[]= {
{
"test_rewind"
,
test_rewind
},
{
"test_bug6761"
,
test_bug6761
},
{
"test_bug8330"
,
test_bug8330
},
{
"test_bug7990"
,
test_bug7990
},
{
0
,
0
}
};
...
...
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