mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Fixed error after merge; tiny modification [#CLICKHOUSE-2].
This commit is contained in:
parent
0fb00dc88a
commit
9593119a64
@ -224,9 +224,9 @@ struct ContextShared
|
||||
|
||||
|
||||
Context::Context()
|
||||
: shared(new ContextShared),
|
||||
quota(new QuotaForIntervals),
|
||||
system_logs(new SystemLogs)
|
||||
: shared(std::make_shared<ContextShared>()),
|
||||
quota(std::make_shared<QuotaForIntervals>()),
|
||||
system_logs(std::make_shared<SystemLogs>())
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -105,6 +105,8 @@ private:
|
||||
Context * global_context = nullptr; /// Global context or nullptr. Could be equal to this.
|
||||
SystemLogsPtr system_logs; /// Used to log queries and operations on parts
|
||||
|
||||
UInt64 session_close_cycle = 0;
|
||||
bool session_is_used = false;
|
||||
|
||||
using DatabasePtr = std::shared_ptr<IDatabase>;
|
||||
using Databases = std::map<String, std::shared_ptr<IDatabase>>;
|
||||
|
Loading…
Reference in New Issue
Block a user