Merge pull request #7605 from zhang2014/fix/is_local_show

fix cluster system is_local
This commit is contained in:
alexey-milovidov 2019-11-04 14:35:37 +03:00 committed by GitHub
commit 1354d1079a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,7 @@ void StorageSystemClusters::fillData(MutableColumns & res_columns, const Context
auto resolved = address.getResolvedAddress();
res_columns[i++]->insert(resolved ? resolved->host().toString() : String());
res_columns[i++]->insert(address.port);
res_columns[i++]->insert(shard_info.isLocal());
res_columns[i++]->insert(address.is_local);
res_columns[i++]->insert(address.user);
res_columns[i++]->insert(address.default_database);
res_columns[i++]->insert(pool_status[replica_index].error_count);