mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
MDEV-6447: addendum, moving QC code within HAVE_QUERY_CACHE.
This commit is contained in:
parent
9a0566b09b
commit
5589509353
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue