Update getFQDNOrHostName.cpp

Update isLocalAddress.cpp

Update IBlockOutputStream.h

Update users.xml
This commit is contained in:
alexey-milovidov 2018-01-23 22:49:56 +03:00 committed by Vitaliy Lyudvichenko
parent af2c4e87dc
commit 24ac18201c
4 changed files with 2 additions and 7 deletions

View File

@ -22,5 +22,4 @@ const std::string & getFQDNOrHostName()
{
static std::string result = getFQDNOrHostNameImpl();
return result;
}

View File

@ -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;
}

View File

@ -4,7 +4,6 @@
#include <vector>
#include <memory>
#include <boost/noncopyable.hpp>
#include "IBlockInputStream.h"
namespace DB

View File

@ -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>