Update cluster.py

This commit is contained in:
tavplubix 2020-11-02 17:58:06 +03:00 committed by GitHub
parent 10a7a61da9
commit 2e5125739e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -907,6 +907,7 @@ class ClickHouseInstance:
build_opts = self.query("SELECT value FROM system.build_options WHERE name = 'CXX_FLAGS'")
return "-fsanitize=thread" in build_opts
# Connects to the instance via clickhouse-client, sends a query (1st argument) and returns the answer
def query(self, sql, stdin=None, timeout=60, settings=None, user=None, password=None, database=None,
ignore_error=False):