diff options
author | mkaruza <mario.karuza@galeracluster.com> | 2020-03-26 09:45:03 +0100 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@mariadb.com> | 2020-03-31 09:59:37 +0300 |
commit | 2d16452a31e7c2c99d191f34897e519928541cda (patch) | |
tree | fcbdfb9b7d6b4b9a1884644de47eaa7fd5363b80 /sql/wsrep_binlog.h | |
parent | 5001487632d60c2d0d9ce5c1be697c016813a994 (diff) | |
download | mariadb-git-2d16452a31e7c2c99d191f34897e519928541cda.tar.gz |
MDEV-22021: Galera database could get inconsistent with rollback to savepoint
When binlog is disabled, WSREP will not behave correctly when
SAVEPOINT ROLLBACK is executed since we don't register handlers for such case.
Fixed by registering WSREP handlerton for SAVEPOINT related commands.
Diffstat (limited to 'sql/wsrep_binlog.h')
-rw-r--r-- | sql/wsrep_binlog.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/wsrep_binlog.h b/sql/wsrep_binlog.h index c2ccacdc180..ed8e19ed651 100644 --- a/sql/wsrep_binlog.h +++ b/sql/wsrep_binlog.h @@ -54,7 +54,5 @@ void wsrep_dump_rbr_buf_with_header(THD *thd, const void *rbr_buf, size_t buf_len); int wsrep_binlog_close_connection(THD* thd); -int wsrep_binlog_savepoint_set(THD *thd, void *sv); -int wsrep_binlog_savepoint_rollback(THD *thd, void *sv); #endif /* WSREP_BINLOG_H */ |