19 lines
641 B
Diff
19 lines
641 B
Diff
--- a/dbms/src/Dictionaries/MongoDBDictionarySource.cpp 2017-05-16 13:59:48.153072479 +0300
|
|
+++ b/dbms/src/Dictionaries/MongoDBDictionarySource.cpp 2017-05-16 14:00:07.566365200 +0300
|
|
@@ -32,6 +32,7 @@
|
|
static const size_t max_block_size = 8192;
|
|
|
|
|
|
+#if POCO_VERSION < 0x01070800
|
|
/// See https://pocoproject.org/forum/viewtopic.php?f=10&t=6326&p=11426&hilit=mongodb+auth#p11485
|
|
static void authenticate(Poco::MongoDB::Connection & connection,
|
|
const std::string & database, const std::string & user, const std::string & password)
|
|
@@ -117,6 +118,7 @@
|
|
}
|
|
}
|
|
}
|
|
+#endif
|
|
|
|
|
|
MongoDBDictionarySource::MongoDBDictionarySource(
|