Commit 55895093 authored by Nirbhay Choubey's avatar Nirbhay Choubey

MDEV-6447: addendum, moving QC code within HAVE_QUERY_CACHE.

parent 9a0566b0
......@@ -238,8 +238,10 @@ wsrep_view_handler_cb (void* app_ctx,
/* Proceed further only if view is PRIMARY */
if (WSREP_VIEW_PRIMARY != view->status)
{
#ifdef HAVE_QUERY_CACHE
// query cache must be initialised by now
query_cache.flush();
#endif /* HAVE_QUERY_CACHE */
wsrep_ready_set(FALSE);
new_status= WSREP_MEMBER_UNDEFINED;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment