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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
d0ed9f43
Commit
d0ed9f43
authored
Dec 23, 2011
by
Ramil Kalimullin
Browse files
Options
Browse Files
Download
Plain Diff
Auto-merge from mysq-5.1.
parents
086ee89a
790a3a46
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
storage/federated/ha_federated.cc
storage/federated/ha_federated.cc
+9
-0
No files found.
storage/federated/ha_federated.cc
View file @
d0ed9f43
...
...
@@ -1685,6 +1685,15 @@ int ha_federated::close(void)
mysql_close
(
mysql
);
mysql
=
NULL
;
/*
mysql_close() might return an error if a remote server's gone
for some reason. If that happens while removing a table from
the table cache, the error will be propagated to a client even
if the original query was not issued against the FEDERATED table.
So, don't propagate errors from mysql_close().
*/
table
->
in_use
->
clear_error
();
DBUG_RETURN
(
free_share
(
share
));
}
...
...
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