Move responsibility for closing DCB on error to router error handling. Check that routers remove or disable links to closed DCB.
This commit is contained in:
@ -26,6 +26,7 @@
|
||||
* Date Who Description
|
||||
* 16/02/15 Mark Riddoch Initial implementation
|
||||
* 27/02/15 Massimiliano Pinto Added maxinfo_add_mysql_user
|
||||
* 09/09/2015 Martin Brampton Modify error handler
|
||||
*
|
||||
* @endverbatim
|
||||
*/
|
||||
@ -335,6 +336,7 @@ static void handleError(
|
||||
}
|
||||
|
||||
/** false because connection is not available anymore */
|
||||
dcb_close(backend_dcb);
|
||||
*succp = false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user