Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop
This commit is contained in:
@ -310,7 +310,7 @@ static inline bool connect_to_db(MONITOR* mon,MONITOR_SERVERS *database)
|
||||
mysql_options(database->con, MYSQL_OPT_READ_TIMEOUT, (void *)&read_timeout);
|
||||
mysql_options(database->con, MYSQL_OPT_WRITE_TIMEOUT, (void *)&write_timeout);
|
||||
|
||||
return (mysql_real_connect(database->con,
|
||||
bool result = (mysql_real_connect(database->con,
|
||||
database->server->name,
|
||||
uname,
|
||||
dpwd,
|
||||
@ -318,6 +318,8 @@ static inline bool connect_to_db(MONITOR* mon,MONITOR_SERVERS *database)
|
||||
database->server->port,
|
||||
NULL,
|
||||
0) != NULL);
|
||||
free(dpwd);
|
||||
return result;
|
||||
}
|
||||
|
||||
static inline void monitor_mysql100_db(MONITOR_SERVERS* database)
|
||||
|
@ -1115,7 +1115,9 @@ int gw_read_client_event(
|
||||
* send redundant COM_QUIT.
|
||||
*/
|
||||
/* Temporarily suppressed: SESSION_ROUTE_QUERY(session, read_buffer); */
|
||||
/**
|
||||
/* Replaced with freeing the read buffer. */
|
||||
gwbuf_free(read_buffer);
|
||||
/**
|
||||
* Close router session which causes closing of backends.
|
||||
*/
|
||||
dcb_close(dcb);
|
||||
|
Reference in New Issue
Block a user