tpmfilter now prints which server the query has been executed on.

This commit is contained in:
Dong Young Yoon
2016-12-14 12:07:48 -05:00
committed by Markus Mäkelä
parent cb243f47a0
commit 7776d55963
3 changed files with 190 additions and 61 deletions

View File

@ -895,6 +895,7 @@ gw_read_and_write(DCB *dcb)
if (session_ok_to_route(dcb))
{
gwbuf_set_type(stmt, GWBUF_TYPE_MYSQL);
stmt->server = dcb->server;
session->service->router->clientReply(session->service->router_instance,
session->router_session,
stmt, dcb);