mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Fixed error in UBSan [#CLICKHOUSE-2]
This commit is contained in:
parent
2bdb5b9fdf
commit
c75cc14703
@ -40,7 +40,7 @@ private:
|
||||
int thread_number = 0;
|
||||
std::time_t enqueue_time = 0;
|
||||
std::time_t start_time = 0;
|
||||
Type type;
|
||||
Type type = Read;
|
||||
};
|
||||
|
||||
public:
|
||||
|
@ -114,7 +114,7 @@ public:
|
||||
ConnectionPoolWithFailoverPtr pool;
|
||||
/// Connection pool for each replica, contains nullptr for local replicas
|
||||
ConnectionPoolPtrs per_replica_pools;
|
||||
bool has_internal_replication;
|
||||
bool has_internal_replication = false;
|
||||
};
|
||||
|
||||
using ShardsInfo = std::vector<ShardInfo>;
|
||||
|
Loading…
Reference in New Issue
Block a user