/* 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;
/* Always record local_uuid and local_seqno in non-prim since this
=== modified file 'sql/wsrep_ mysqld. cc'
--- sql/wsrep_mysqld.cc 2014-04-20 17:19:52 +0000
+++ sql/wsrep_mysqld.cc 2014-04-20 18:36:58 +0000
@@ -230,6 +230,10 @@
/* Proceed further only if view is PRIMARY */ flush() ; QUERY_CACHE* / ready_set( FALSE); UNDEFINED;
if (WSREP_VIEW_PRIMARY != view->status) {
+#ifdef HAVE_QUERY_CACHE
+ // query cache must be initialised by now
+ query_cache.
+#endif /*HAVE_
wsrep_
new_status= WSREP_MEMBER_
/* Always record local_uuid and local_seqno in non-prim since this
in wsrep_view_ handler_ cb should do.