Removed useless code [#CLICKHOUSE-2]

This commit is contained in:
Alexey Milovidov 2018-09-05 19:11:10 +03:00
parent 60ca1287c1
commit 12ff8814f8

View File

@ -3431,8 +3431,6 @@ void StorageReplicatedMergeTree::drop()
if (is_readonly || !zookeeper)
throw Exception("Can't drop readonly replicated table (need to drop data in ZooKeeper as well)", ErrorCodes::TABLE_IS_READ_ONLY);
// checkTableCanBeDropped(); // uncomment to feel yourself safe
shutdown();
if (zookeeper->expired())