More atomics

This commit is contained in:
proller 2017-10-30 17:38:16 +03:00
parent 8b3d3cf56f
commit 5d137e22eb
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;