Skip to content

Commit 7dc927c

Browse files
Rename var
1 parent 8f8d3b0 commit 7dc927c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sqlitecluster/SQLiteNode.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1572,15 +1572,15 @@ void SQLiteNode::_onMESSAGE(SQLitePeer* peer, const SData& message) {
15721572
return;
15731573
}
15741574

1575-
bool replicationRunning = false;
1575+
bool isReplicationRunning = false;
15761576
{
15771577
lock_guard<mutex> lock(_replicateMutex);
15781578
if (!_shouldReplicateThreadExit) {
15791579
_replicateQueue.push(make_pair(peer, message));
1580-
replicationRunning = true;
1580+
isReplicationRunning = true;
15811581
}
15821582
}
1583-
if (replicationRunning) {
1583+
if (isReplicationRunning) {
15841584
if (!_replicateThread) {
15851585
_replicateThread = new thread(&SQLiteNode::_replicate, this);
15861586
}

0 commit comments

Comments
 (0)