Format readwritesplit source code
Formatted all files with Astyle.
This commit is contained in:
@ -736,7 +736,8 @@ void RWSplitSession::log_master_routing_failure(bool found,
|
||||
/** Both backends should either be empty, not connected or the DCB should
|
||||
* be a backend (the last check is slightly redundant). */
|
||||
ss_dassert(!old_master || !old_master->in_use() || old_master->dcb()->dcb_role == DCB_ROLE_BACKEND_HANDLER);
|
||||
ss_dassert(!curr_master || !curr_master->in_use()|| curr_master->dcb()->dcb_role == DCB_ROLE_BACKEND_HANDLER);
|
||||
ss_dassert(!curr_master || !curr_master->in_use() ||
|
||||
curr_master->dcb()->dcb_role == DCB_ROLE_BACKEND_HANDLER);
|
||||
char errmsg[MAX_SERVER_ADDRESS_LEN * 2 + 100]; // Extra space for error message
|
||||
|
||||
if (!found)
|
||||
|
@ -123,7 +123,7 @@ public:
|
||||
ClientHandleMap m_ps_handles; /**< Client PS handle to internal ID mapping */
|
||||
ExecMap m_exec_map; /**< Map of COM_STMT_EXECUTE statement IDs to Backends */
|
||||
std::string m_gtid_pos; /**< Gtid position for causal read */
|
||||
wait_gtid_state_t m_wait_gtid_state; /**< Determine boundray of wait gtid result and client query result */
|
||||
wait_gtid_state_t m_wait_gtid_state; /**< Determine boundary of generated query result */
|
||||
uint32_t m_next_seq; /**< Next packet's sequence number */
|
||||
mxs::QueryClassifier m_qc; /**< The query classifier. */
|
||||
uint64_t m_retry_duration; /**< Total time spent retrying queries */
|
||||
|
Reference in New Issue
Block a user