mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Less diff
This commit is contained in:
parent
fc05110d66
commit
f7043c38bd
@ -3,7 +3,7 @@
|
||||
#include <Core/Types.h>
|
||||
#include <Parsers/IAST_fwd.h>
|
||||
#include <Storages/IStorage_fwd.h>
|
||||
#include <Dictionaries/IDictionary_fwd.h>
|
||||
#include <Dictionaries/IDictionary.h>
|
||||
#include <Common/Exception.h>
|
||||
|
||||
#include <ctime>
|
||||
|
@ -16,7 +16,7 @@ namespace DB
|
||||
{
|
||||
|
||||
struct IDictionaryBase;
|
||||
using DictionaryPtr = std::shared_ptr<IDictionaryBase>;
|
||||
using DictionaryPtr = std::unique_ptr<IDictionaryBase>;
|
||||
|
||||
struct DictionaryStructure;
|
||||
class ColumnString;
|
||||
@ -57,7 +57,7 @@ struct IDictionaryBase : public IExternalLoadable
|
||||
|
||||
virtual std::exception_ptr getLastException() const { return {}; }
|
||||
|
||||
DictionaryPtr shared_from_this()
|
||||
std::shared_ptr<IDictionaryBase> shared_from_this()
|
||||
{
|
||||
return std::static_pointer_cast<IDictionaryBase>(IExternalLoadable::shared_from_this());
|
||||
}
|
||||
|
@ -1,14 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include <Core/Types.h>
|
||||
|
||||
#include <set>
|
||||
#include <memory>
|
||||
|
||||
namespace DB
|
||||
{
|
||||
|
||||
struct IDictionaryBase;
|
||||
using DictionaryPtr = std::shared_ptr<IDictionaryBase>;
|
||||
|
||||
}
|
@ -761,7 +761,6 @@ private:
|
||||
else
|
||||
{
|
||||
/// Perform the loading immediately.
|
||||
/// Deadlock when we try to load dictionary from dictionary on localhost
|
||||
doLoading(name, loading_id, false);
|
||||
}
|
||||
}
|
||||
|
@ -13,7 +13,6 @@ namespace DB
|
||||
|
||||
using LoadablesConfigurationPtr = Poco::AutoPtr<Poco::Util::AbstractConfiguration>;
|
||||
|
||||
|
||||
/// Base interface for configurations source for Loadble objects, which can be
|
||||
/// loaded with ExternalLoader. Configurations may came from filesystem (XML-files),
|
||||
/// server memory (from database), etc. It's important that main result of this class
|
||||
|
@ -43,8 +43,6 @@
|
||||
#include <Databases/DatabaseFactory.h>
|
||||
#include <Databases/IDatabase.h>
|
||||
|
||||
#include <Dictionaries/DictionaryFactory.h>
|
||||
|
||||
#include <Compression/CompressionFactory.h>
|
||||
|
||||
#include <Interpreters/InterpreterDropQuery.h>
|
||||
|
Loading…
Reference in New Issue
Block a user