diff options
author | Alexey Yurchenko <alexey.yurchenko@galeracluster.com> | 2021-12-02 22:26:01 +0200 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@mariadb.com> | 2021-12-08 13:16:23 +0200 |
commit | 5c8e628dda8be24544941b1892ce24c33b14e004 (patch) | |
tree | 0e174c42381fc0441618aef0228a1e786d945d23 /sql/wsrep_mysqld.cc | |
parent | e8a91c18ea136f54a53ae19c6f41482a1b855cff (diff) | |
download | mariadb-git-5c8e628dda8be24544941b1892ce24c33b14e004.tar.gz |
wsrep-lib update: bugfixes, cleanups, event API, state transition cleanupsbb-10.4-wsrep-lib
Don't switch state to DONOR in `wsrep_sst_donate()` - wsrep-lib does it now
Diffstat (limited to 'sql/wsrep_mysqld.cc')
-rw-r--r-- | sql/wsrep_mysqld.cc | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sql/wsrep_mysqld.cc b/sql/wsrep_mysqld.cc index 3fc03054014..a2856b5034d 100644 --- a/sql/wsrep_mysqld.cc +++ b/sql/wsrep_mysqld.cc @@ -2623,20 +2623,6 @@ void wsrep_wait_appliers_close(THD *thd) */ } -void -wsrep_last_committed_id(wsrep_gtid_t* gtid) -{ - wsrep::gtid ret= Wsrep_server_state::instance().last_committed_gtid(); - memcpy(gtid->uuid.data, ret.id().data(), sizeof(gtid->uuid.data)); - gtid->seqno= ret.seqno().get(); -} - -void -wsrep_node_uuid(wsrep_uuid_t& uuid) -{ - uuid= node_uuid; -} - int wsrep_must_ignore_error(THD* thd) { const int error= thd->get_stmt_da()->sql_errno(); |