diff --git a/src/Dictionaries/MongoDBDictionarySource.h b/src/Dictionaries/MongoDBDictionarySource.h index 190ffb1af91..e73b40be858 100644 --- a/src/Dictionaries/MongoDBDictionarySource.h +++ b/src/Dictionaries/MongoDBDictionarySource.h @@ -27,9 +27,7 @@ namespace ErrorCodes extern const int NOT_IMPLEMENTED; } -# if POCO_VERSION < 0x01070800 void authenticate(Poco::MongoDB::Connection & connection, const std::string & database, const std::string & user, const std::string & password); -# endif std::unique_ptr createCursor(const std::string & database, const std::string & collection, const Block & sample_block_to_select); diff --git a/src/Storages/StorageMongoDB.cpp b/src/Storages/StorageMongoDB.cpp index 2f27042b162..adfdd10db6f 100644 --- a/src/Storages/StorageMongoDB.cpp +++ b/src/Storages/StorageMongoDB.cpp @@ -1,21 +1,16 @@ #include "StorageMongoDB.h" -#include #include #include #include -#include -#include #include #include #include #include #include #include -#include #include #include -#include #include #include #include