summaryrefslogtreecommitdiff
path: root/sql/handler.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2021-01-20 15:22:26 +0100
committerSergei Golubchik <serg@mariadb.org>2021-01-24 11:35:55 +0100
commit5d1db34585bdedfcc1f6339c18ea2fce2cdb7ce3 (patch)
tree0803a68c3c8c7beb9de3f36c07569e5580526c07 /sql/handler.h
parent6a1cb449feb1b77e5ec94904c228d7c5477f528a (diff)
downloadmariadb-git-5d1db34585bdedfcc1f6339c18ea2fce2cdb7ce3.tar.gz
cleanup: void hton::abort_transaction()
and void wsrep_innobase_kill_one_trx() as their return values are never used. Also remove redundant cast and checks that are always true
Diffstat (limited to 'sql/handler.h')
-rw-r--r--sql/handler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/handler.h b/sql/handler.h
index 96f2836c921..6113b748696 100644
--- a/sql/handler.h
+++ b/sql/handler.h
@@ -1237,7 +1237,7 @@ struct handlerton
enum handler_create_iterator_result
(*create_iterator)(handlerton *hton, enum handler_iterator_type type,
struct handler_iterator *fill_this_in);
- int (*abort_transaction)(handlerton *hton, THD *bf_thd,
+ void (*abort_transaction)(handlerton *hton, THD *bf_thd,
THD *victim_thd, my_bool signal);
int (*set_checkpoint)(handlerton *hton, const XID* xid);
int (*get_checkpoint)(handlerton *hton, XID* xid);