mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Refs codership/mysql-wsrep#33 - change const initialization to assignment to follow the genral style of the file.
This commit is contained in:
parent
58bbe9b004
commit
608a1ce5b1
1 changed files with 3 additions and 3 deletions
|
@ -143,10 +143,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…
Reference in a new issue