MXS-2038: Fix debug assertion
A query that is classified as a write but has a hint that tells to route it to a slave is not unexpected ever since the 2.1 version of MaxScale.
This commit is contained in:
parent
f335dba2c0
commit
6d88afbf55
@ -729,7 +729,6 @@ SRWBackend RWSplitSession::get_target_backend(backend_type_t btype,
|
||||
|
||||
if (name) /*< Choose backend by name from a hint */
|
||||
{
|
||||
mxb_assert(btype != BE_MASTER);
|
||||
btype = BE_SLAVE;
|
||||
rval = get_hinted_backend(name);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user