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:
parent
15eba3ac75
commit
2e90e77baa
@ -1204,7 +1204,7 @@ static void clientReply(MXS_ROUTER *instance,
|
||||
{
|
||||
// Server responded with an error to the LOAD DATA LOCAL INFILE
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user