MySQL Forums
Forum List  »  Router & Proxy

bug fix in proxy_disconnect_client
Posted by: Cheuksan Wang
Date: October 04, 2007 03:22PM

In network-mysqld-proxy.c, proxy_disconnect_client seems to be missing a line to set the use_pooled_connection. Otherwise the connection will not be added back into the pool. Am I correct?

Cheuksan Wang

Index: network-mysqld-proxy.c
===================================================================
--- network-mysqld-proxy.c (revision 258)
+++ network-mysqld-proxy.c (working copy)
@@ -3906,6 +3906,7 @@

break;
case PROXY_IGNORE_RESULT:
+ use_pooled_connection = TRUE;
break;
default:
g_error("%s.%d: ... ", __FILE__, __LINE__);

Options: ReplyQuote


Subject
Views
Written By
Posted
bug fix in proxy_disconnect_client
3255
October 04, 2007 03:22PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.