提交 a9fea031 编写于 作者: N Nikita Mikhaylov

better style

上级 b21c89b4
......@@ -171,8 +171,6 @@ void Server::defineOptions(Poco::Util::OptionSet & _options)
BaseDaemon::defineOptions(_options);
}
int Server::main(const std::vector<std::string> & /*args*/)
{
Logger * log = &logger();
......@@ -180,7 +178,6 @@ int Server::main(const std::vector<std::string> & /*args*/)
ThreadStatus thread_status;
registerFunctions();
registerAggregateFunctions();
registerTableFunctions();
......
......@@ -309,8 +309,6 @@ void SystemLog<LogElement>::threadFunction()
}
template <typename LogElement>
void SystemLog<LogElement>::flushImpl(EntryType reason)
{
......@@ -444,5 +442,3 @@ void SystemLog<LogElement>::prepareTable()
}
}
......@@ -5,8 +5,6 @@ CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
${CLICKHOUSE_CLIENT} --query="SELECT 6103"
>00974_text_log_table_not_empty.tmp
for (( i=1; i <= 50; i++ ))
do
......
......@@ -9,8 +9,6 @@
#include <Core/SettingsCommon.h>
#include <Common/CurrentThread.h>
#include <iostream>
#ifndef QUERY_PREVIEW_LENGTH
#define QUERY_PREVIEW_LENGTH 160
#endif
......
......@@ -22,7 +22,8 @@ static std::string createDirectory(const std::string & file)
return path.toString();
};
void Loggers::setTextLog(std::shared_ptr<DB::TextLog> log) {
void Loggers::setTextLog(std::shared_ptr<DB::TextLog> log)
{
text_log = log;
}
......
......@@ -14,8 +14,6 @@ namespace DB
class OwnSplitChannel : public Poco::Channel
{
public:
OwnSplitChannel() = default;
/// Makes an extended message from msg and passes it to the client logs queue and child (if possible)
void log(const Poco::Message & msg) override;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册