Merge lp:~percona-core/percona-xtradb-cluster/trunk-25-Bug1296403 into lp:percona-xtradb-cluster/5.5

Proposed by Raghavendra D Prabhu
Status: Merged
Merged at revision: 729
Proposed branch: lp:~percona-core/percona-xtradb-cluster/trunk-25-Bug1296403
Merge into: lp:percona-xtradb-cluster/5.5
Diff against target: 14 lines (+4/-0)
1 file modified
sql/wsrep_mysqld.cc (+4/-0)
To merge this branch: bzr merge lp:~percona-core/percona-xtradb-cluster/trunk-25-Bug1296403
Reviewer Review Type Date Requested Status
Raghavendra D Prabhu (community) Approve
Review via email: mp+216659@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'sql/wsrep_mysqld.cc'
2--- sql/wsrep_mysqld.cc 2014-04-20 17:19:52 +0000
3+++ sql/wsrep_mysqld.cc 2014-04-22 03:47:33 +0000
4@@ -230,6 +230,10 @@
5
6 /* Proceed further only if view is PRIMARY */
7 if (WSREP_VIEW_PRIMARY != view->status) {
8+#ifdef HAVE_QUERY_CACHE
9+ // query cache must be initialised by now
10+ query_cache.flush();
11+#endif /*HAVE_QUERY_CACHE*/
12 wsrep_ready_set(FALSE);
13 new_status= WSREP_MEMBER_UNDEFINED;
14 /* Always record local_uuid and local_seqno in non-prim since this

Subscribers

People subscribed via source and target branches

to all changes: