From 9b1d1303ce223428dc875781e16da46f6f839785 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Sun, 15 Jul 2018 21:17:39 +0300 Subject: [PATCH] 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. --- server/modules/protocol/MySQL/mariadbbackend/mysql_backend.c | 1 + 1 file changed, 1 insertion(+) diff --git a/server/modules/protocol/MySQL/mariadbbackend/mysql_backend.c b/server/modules/protocol/MySQL/mariadbbackend/mysql_backend.c index 350c54d32..65b0f8371 100644 --- a/server/modules/protocol/MySQL/mariadbbackend/mysql_backend.c +++ b/server/modules/protocol/MySQL/mariadbbackend/mysql_backend.c @@ -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 {