diff options
author | Nirbhay Choubey <nirbhay@skysql.com> | 2014-08-06 15:45:53 -0400 |
---|---|---|
committer | Nirbhay Choubey <nirbhay@skysql.com> | 2014-08-06 15:45:53 -0400 |
commit | 4788577c203402ba228f0dbf874ca2becb6b8fa1 (patch) | |
tree | fdd37f69b474a6505b59317501b65502e85db900 /sql/wsrep_thd.cc | |
parent | ec91eea8dbae4276ff6e31a0d80c0b523f88ed88 (diff) | |
download | mariadb-git-4788577c203402ba228f0dbf874ca2becb6b8fa1.tar.gz |
bzr merge -r3997..4010 codership-mysql/5.5
Diffstat (limited to 'sql/wsrep_thd.cc')
-rw-r--r-- | sql/wsrep_thd.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sql/wsrep_thd.cc b/sql/wsrep_thd.cc index 132cfc7c5d2..5d5917ad3fc 100644 --- a/sql/wsrep_thd.cc +++ b/sql/wsrep_thd.cc @@ -414,6 +414,17 @@ void wsrep_create_rollbacker() } } + +extern "C" +void wsrep_thd_set_PA_safe(void *thd_ptr, my_bool safe) +{ + if (thd_ptr) + { + THD* thd = (THD*)thd_ptr; + thd->wsrep_PA_safe = safe; + } +} + extern "C" my_bool wsrep_thd_is_BF(void *thd_ptr, my_bool sync) { |