MXS-2027: Set load to inactive on error
The data loading should be set to inactive if an error is encountered, not to active.
This commit is contained in:
@ -1204,7 +1204,7 @@ static void clientReply(MXS_ROUTER *instance,
|
|||||||
{
|
{
|
||||||
// Server responded with an error to the LOAD DATA LOCAL INFILE
|
// Server responded with an error to the LOAD DATA LOCAL INFILE
|
||||||
rses->load_data_state = LOAD_DATA_INACTIVE;
|
rses->load_data_state = LOAD_DATA_INACTIVE;
|
||||||
session_set_load_active(backend_dcb->session, true);
|
session_set_load_active(backend_dcb->session, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (backend->get_reply_state() == REPLY_STATE_DONE)
|
if (backend->get_reply_state() == REPLY_STATE_DONE)
|
||||||
|
Reference in New Issue
Block a user