Fix merge issues
Former-commit-id: b22d9cc27d0434578891c59825f1c8813a3a9b28
This commit is contained in:
parent
9c4b66b9a4
commit
f4caa84987
@ -3870,7 +3870,7 @@ void replicaReplayCommand(client *c)
|
|||||||
|
|
||||||
RemoteMasterState &remoteState = g_mapremote[uuid];
|
RemoteMasterState &remoteState = g_mapremote[uuid];
|
||||||
if (remoteState.cFake == nullptr)
|
if (remoteState.cFake == nullptr)
|
||||||
remoteState.cFake = createClient(-1, c->iel);
|
remoteState.cFake = createClient(nullptr, c->iel);
|
||||||
else
|
else
|
||||||
remoteState.cFake->iel = c->iel;
|
remoteState.cFake->iel = c->iel;
|
||||||
|
|
||||||
@ -3885,11 +3885,6 @@ void replicaReplayCommand(client *c)
|
|||||||
|
|
||||||
// OK We've recieved a command lets execute
|
// OK We've recieved a command lets execute
|
||||||
client *current_clientSave = serverTL->current_client;
|
client *current_clientSave = serverTL->current_client;
|
||||||
<<<<<<< HEAD
|
|
||||||
if (cFake == nullptr)
|
|
||||||
cFake = createClient(nullptr, c->iel);
|
|
||||||
=======
|
|
||||||
>>>>>>> unstable
|
|
||||||
cFake->lock.lock();
|
cFake->lock.lock();
|
||||||
cFake->authenticated = c->authenticated;
|
cFake->authenticated = c->authenticated;
|
||||||
cFake->puser = c->puser;
|
cFake->puser = c->puser;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user