Fix using locks in ProcessList#51348
Conversation
|
This is an automated comment for commit 1ae51ff with description of existing statuses. It's updated for the latest CI running
|
davenger
left a comment
There was a problem hiding this comment.
looks like here https://github.com/ClickHouse/ClickHouse/pull/51348/files#diff-c6034fc738bf184e41e5218132c88c572ee70ff8cad9964cd6a42643009ecf99R596-R600 context needs to be grabbed like this
ContextPtr ctx = context.lock();
if (get_settings && ctx)
{
res.query_settings = std::make_shared<Settings>(ctx->getSettings());
res.current_database = ctx->getCurrentDatabase();
}
done |
line 2591: fix build due to ClickHouse/ClickHouse#51348
line 2591: fix build due to ClickHouse/ClickHouse#51348
line 2591: fix build due to ClickHouse/ClickHouse#51348
line 2591: fix build due to ClickHouse/ClickHouse#51348
* [GLUTEN-1632][CH]Daily Update Clickhouse Version (20230628) * line 1999: fix build due to ClickHouse/ClickHouse#51455 line 2591: fix build due to ClickHouse/ClickHouse#51348 * fix build due to ClickHouse/ClickHouse#51455 --------- Co-authored-by: kyligence-git <[email protected]> Co-authored-by: Chang Chen <[email protected]>
Changelog category:
Fixes #51150