1
# name : bug813587.patch
4
# Fix for LP bug #813587 / MySQL bug #51196 / MySQL bug #61790
6
# Clear MySQL connection errors in ha_federated::close(), since they
7
# can affect queries on other tables due to table cache eviction.
9
--- a/storage/federated/ha_federated.cc
10
+++ b/storage/federated/ha_federated.cc
13
int ha_federated::close(void)
15
+ THD *thd= current_thd;
16
DBUG_ENTER("ha_federated::close");
19
@@ -1651,6 +1652,10 @@
23
+ /* Clear possible errors from mysql_close(), see LP bug #813587. */
27
DBUG_RETURN(free_share(share));