diff --git a/server/modules/routing/readwritesplit/readwritesplit.c b/server/modules/routing/readwritesplit/readwritesplit.c index a0d56b81f..15b1295af 100644 --- a/server/modules/routing/readwritesplit/readwritesplit.c +++ b/server/modules/routing/readwritesplit/readwritesplit.c @@ -727,7 +727,6 @@ static int routeQuery( case (QUERY_TYPE_SESSION_WRITE|QUERY_TYPE_COMMIT): if (QUERY_IS_TYPE(qtype,QUERY_TYPE_COMMIT) && transaction_active) - ) { transaction_active = false; }