mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
Refs codership/mysql-features#33 - this fixes a bug where wsrep_start_position_update() would pass local_uuid and local_seqno to wsrep_sst_received() instead of real, submitted position.
This commit is contained in:
parent
0115ca2ae1
commit
c16ec07419
1 changed files with 3 additions and 3 deletions
|
@ -144,10 +144,10 @@ err:
|
|||
static
|
||||
void wsrep_set_local_position(const char* const value, bool const sst)
|
||||
{
|
||||
size_t const value_len = strlen(value);
|
||||
size_t const value_len(strlen(value));
|
||||
wsrep_uuid_t uuid;
|
||||
size_t const uuid_len = wsrep_uuid_scan(value, value_len, &uuid);
|
||||
wsrep_seqno_t const seqno = strtoll(value + uuid_len + 1, NULL, 10);
|
||||
size_t const uuid_len(wsrep_uuid_scan(value, value_len, &uuid));
|
||||
wsrep_seqno_t const seqno(strtoll(value + uuid_len + 1, NULL, 10));
|
||||
|
||||
if (sst) {
|
||||
wsrep_sst_received (wsrep, uuid, seqno, NULL, 0);
|
||||
|
|
Loading…
Add table
Reference in a new issue