Merge branch '2.1.7' into develop-2.1-merge
This commit is contained in:
@ -152,6 +152,7 @@ typedef struct session
|
||||
GWBUF *buffer; /**< Buffer containing the statement */
|
||||
const struct server *target; /**< Where the statement was sent */
|
||||
} stmt; /**< Current statement being executed */
|
||||
bool qualifies_for_pooling; /**< Whether this session qualifies for the connection pool */
|
||||
skygw_chk_t ses_chk_tail;
|
||||
} MXS_SESSION;
|
||||
|
||||
@ -441,6 +442,20 @@ json_t* session_to_json(const MXS_SESSION *session, const char* host);
|
||||
*/
|
||||
json_t* session_list_to_json(const char* host);
|
||||
|
||||
/**
|
||||
* Qualify the session for connection pooling
|
||||
*
|
||||
* @param session Session to qualify
|
||||
*/
|
||||
void session_qualify_for_pool(MXS_SESSION* session);
|
||||
|
||||
/**
|
||||
* Check if the session qualifies for connection pooling
|
||||
*
|
||||
* @param session
|
||||
*/
|
||||
bool session_valid_for_pool(const MXS_SESSION* session);
|
||||
|
||||
/**
|
||||
* @brief Return the session of the dcb currently being processed
|
||||
* by the calling thread.
|
||||
|
Reference in New Issue
Block a user