mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 01:22:04 +00:00
Fix making a query scope for async backups.
This commit is contained in:
parent
d4a24a5f8e
commit
429aab2f12
@ -107,7 +107,7 @@ UUID BackupsWorker::startMakingBackup(const ASTPtr & query, const ContextPtr & c
|
|||||||
{
|
{
|
||||||
if (async)
|
if (async)
|
||||||
{
|
{
|
||||||
query_scope.emplace(context_in_use);
|
query_scope.emplace(mutable_context);
|
||||||
setThreadName("BackupWorker");
|
setThreadName("BackupWorker");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user