Only store established connections in the pool

If a connection has not been fully established (i.e. authentication has
been completed) then it should not be considered as a connection pool
candidate.
This commit is contained in:
Markus Mäkelä
2017-05-01 16:11:05 +03:00
committed by Markus Mäkelä
parent f7b8744460
commit 35de0c392f
8 changed files with 29 additions and 9 deletions

View File

@ -85,7 +85,9 @@ MXS_MODULE* MXS_CREATE_MODULE()
cdc_listen, /* Create a listener */
NULL, /* Authentication */
NULL, /* Session */
cdc_default_auth /* default authentication */
cdc_default_auth, /* default authentication */
NULL,
NULL,
};
static MXS_MODULE info =