diff options
Diffstat (limited to 'sql/wsrep_dummy.cc')
-rw-r--r-- | sql/wsrep_dummy.cc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sql/wsrep_dummy.cc b/sql/wsrep_dummy.cc index 364ef2d3e7a..0041eec084c 100644 --- a/sql/wsrep_dummy.cc +++ b/sql/wsrep_dummy.cc @@ -1,4 +1,4 @@ -/* Copyright (C) 2014 SkySQL Ab. +/* Copyright (C) 2014, 2020, MariaDB This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -101,8 +101,8 @@ enum wsrep_conflict_state wsrep_thd_get_conflict_state(THD *) my_bool wsrep_thd_is_wsrep(THD *) { return 0; } -char *wsrep_thd_query(THD *) -{ return 0; } +const char *wsrep_thd_query(THD *) +{ return "NULL"; } enum wsrep_query_state wsrep_thd_query_state(THD *) { return QUERY_IDLE; } @@ -145,3 +145,6 @@ void wsrep_set_data_home_dir(const char *) void wsrep_log(void (*)(const char *, ...), const char *, ...) { } + +bool wsrep_thd_set_wsrep_killed(THD*) +{ return false;} |