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:
Markus Mäkelä 2019-01-28 18:06:07 +02:00
parent f335dba2c0
commit 6d88afbf55
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -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);
}