summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorDaniele Sciascia <daniele.sciascia@galeracluster.com>2015-10-20 17:54:14 +0200
committerNirbhay Choubey <nirbhay@mariadb.com>2016-02-09 21:28:54 -0500
commit8a71fde01f153bda42d57587527376bc33e9e3e9 (patch)
tree3d92424f21828d4e796e7ba65033fa96a6ecff50 /sql/sql_class.h
parent70113ee170cbace52d01afdb3ddd4ea5bfa92ebd (diff)
downloadmariadb-git-8a71fde01f153bda42d57587527376bc33e9e3e9.tar.gz
refs codership/mysql-wsrep#201
- Fixes query cache so that it is aware of wsrep_sync_wait. Query cache would return (possibly stale) results to the client, regardless of the value of wsrep_sync_wait. - Includes the test case that reproduced the issue.
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 6deabb04f3d..6e80eeb7096 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -2395,6 +2395,7 @@ public:
size_t wsrep_TOI_pre_query_len;
void* wsrep_apply_format;
bool wsrep_apply_toi; /* applier processing in TOI */
+ wsrep_gtid_t wsrep_sync_wait_gtid;
#endif /* WITH_WSREP */
/**
Internal parser state.