MXS-1977: Archive session command on completion

The legacy session command implementation is still partially used and a
cleanup call was missing. This should be removed in the next major
release.
This commit is contained in:
Markus Mäkelä 2018-07-15 21:17:39 +03:00
parent 19a349a4a8
commit 9b1d1303ce
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -965,6 +965,7 @@ gw_read_and_write(DCB *dcb)
stmt = read_buffer;
read_buffer = NULL;
gwbuf_set_type(stmt, GWBUF_TYPE_RESPONSE_END | GWBUF_TYPE_SESCMD_RESPONSE);
protocol_archive_srv_command(proto);
}
else
{