Update DDLWorker.cpp

This commit is contained in:
Anton Popov 2018-09-28 18:35:30 +03:00 committed by GitHub
parent ed3c744055
commit 49438ed1a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -178,7 +178,7 @@ struct DDLTask
Cluster::Address address_in_cluster;
size_t host_shard_num;
size_t host_replica_num;
/// Stage 3.3: execute query
ExecutionStatus execution_status;
bool was_executed = false;
@ -335,7 +335,6 @@ void DDLWorker::processTasks()
{
LOG_DEBUG(log, "Processing tasks");
Strings queue_nodes = zookeeper->getChildren(queue_dir, nullptr, event_queue_updated);
filterAndSortQueueNodes(queue_nodes);
if (queue_nodes.empty())