From 5a846063c13c9335b5451bec8c455592b4ae8a0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Wed, 4 Apr 2018 14:33:00 +0300 Subject: [PATCH] Fix assignment of varible to itself Caused by refactoring. --- server/modules/routing/readwritesplit/rwsplit_route_stmt.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/routing/readwritesplit/rwsplit_route_stmt.cc b/server/modules/routing/readwritesplit/rwsplit_route_stmt.cc index edded782e..420d27bf4 100644 --- a/server/modules/routing/readwritesplit/rwsplit_route_stmt.cc +++ b/server/modules/routing/readwritesplit/rwsplit_route_stmt.cc @@ -947,7 +947,7 @@ bool RWSplitSession::handle_got_target(GWBUF* querybuf, SRWBackend& target, bool } } - if ((large_query = large_query)) + if ((this->large_query = large_query)) { /** Store the previous target as we're processing a multi-packet query */ prev_target = target;