mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 18:42:26 +00:00
More atomics
This commit is contained in:
parent
8b3d3cf56f
commit
5d137e22eb
@ -187,7 +187,7 @@ private:
|
||||
bool enabled_extremes = false;
|
||||
|
||||
/// Information about the approximate total number of rows is collected in the parent source.
|
||||
bool collected_total_rows_approx = false;
|
||||
std::atomic_bool collected_total_rows_approx = false;
|
||||
|
||||
/// The limit on the number of rows/bytes has been exceeded, and you need to stop execution on the next `read` call, as if the thread has run out.
|
||||
bool limit_exceeded_need_break = false;
|
||||
|
@ -233,7 +233,7 @@ private:
|
||||
void setZooKeeper(zkutil::ZooKeeperPtr zookeeper);
|
||||
|
||||
/// If true, the table is offline and can not be written to it.
|
||||
bool is_readonly = false;
|
||||
std::atomic_bool is_readonly = false;
|
||||
|
||||
String database_name;
|
||||
String table_name;
|
||||
|
Loading…
Reference in New Issue
Block a user