diff options
author | Sergei Golubchik <serg@mariadb.org> | 2014-09-27 22:29:10 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2014-10-01 23:48:34 +0200 |
commit | 7aabc2ded2b63fed1e149276bfb5f8e0fd7d723f (patch) | |
tree | 1fb5d91a553036e7faee2400cde45a94a99cd049 /sql/wsrep_thd.h | |
parent | 8877adb773abeafafcdee18fe30fca1c8589ee2c (diff) | |
download | mariadb-git-7aabc2ded2b63fed1e149276bfb5f8e0fd7d723f.tar.gz |
fixing embedded: WaaS. Wsrep as a Service.
Diffstat (limited to 'sql/wsrep_thd.h')
-rw-r--r-- | sql/wsrep_thd.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sql/wsrep_thd.h b/sql/wsrep_thd.h index cc3a7c7b9d1..9914e98dcdb 100644 --- a/sql/wsrep_thd.h +++ b/sql/wsrep_thd.h @@ -32,11 +32,10 @@ int wsrep_abort_thd(void *bf_thd_ptr, void *victim_thd_ptr, my_bool signal); extern void wsrep_thd_set_PA_safe(void *thd_ptr, my_bool safe); -extern my_bool wsrep_thd_is_BF(void *thd_ptr, my_bool sync); +extern my_bool wsrep_thd_is_BF(THD *thd, my_bool sync); extern my_bool wsrep_thd_is_wsrep(void *thd_ptr); -extern int wsrep_thd_conflict_state(void *thd_ptr, my_bool sync); -//extern "C" my_bool wsrep_thd_is_BF(void *thd_ptr, my_bool sync); +enum wsrep_conflict_state wsrep_thd_conflict_state(void *thd_ptr, my_bool sync); extern "C" my_bool wsrep_thd_is_BF_or_commit(void *thd_ptr, my_bool sync); extern "C" my_bool wsrep_thd_is_local(void *thd_ptr, my_bool sync); extern "C" int wsrep_thd_in_locking_session(void *thd_ptr); |