mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Update getFQDNOrHostName.cpp
Update isLocalAddress.cpp Update IBlockOutputStream.h Update users.xml
This commit is contained in:
parent
af2c4e87dc
commit
24ac18201c
@ -22,5 +22,4 @@ const std::string & getFQDNOrHostName()
|
||||
{
|
||||
static std::string result = getFQDNOrHostNameImpl();
|
||||
return result;
|
||||
|
||||
}
|
||||
|
@ -36,8 +36,8 @@ size_t getHostNameDifference(const std::string & local_hostname, const std::stri
|
||||
{
|
||||
size_t hostname_difference = 0;
|
||||
for (size_t i = 0; i < std::min(local_hostname.length(), host.length()); ++i)
|
||||
if (local_hostname[i] != host[i])
|
||||
++hostname_difference;
|
||||
if (local_hostname[i] != host[i])
|
||||
++hostname_difference;
|
||||
return hostname_difference;
|
||||
}
|
||||
|
||||
|
@ -4,7 +4,6 @@
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
#include <boost/noncopyable.hpp>
|
||||
#include "IBlockInputStream.h"
|
||||
|
||||
|
||||
namespace DB
|
||||
|
@ -3,9 +3,6 @@
|
||||
<profiles>
|
||||
<default>
|
||||
<log_queries>1</log_queries>
|
||||
|
||||
<!-- Remove this setting after superfluous deduplication after DROP PARTITION is fixed -->
|
||||
<insert_deduplicate>0</insert_deduplicate>
|
||||
</default>
|
||||
</profiles>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user