mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-29 05:00:47 +00:00
Merge branch 'master' into mlock-code-segment
This commit is contained in:
commit
fe7a84745f
@ -302,7 +302,7 @@ void DatabaseAtomic::assertDetachedTableNotInUse(const UUID & uuid)
|
|||||||
/// To avoid it, we remember UUIDs of detached tables and does not allow ATTACH table with such UUID until detached instance still in use.
|
/// To avoid it, we remember UUIDs of detached tables and does not allow ATTACH table with such UUID until detached instance still in use.
|
||||||
if (detached_tables.count(uuid))
|
if (detached_tables.count(uuid))
|
||||||
throw Exception("Cannot attach table with UUID " + toString(uuid) +
|
throw Exception("Cannot attach table with UUID " + toString(uuid) +
|
||||||
", because it was detached but still used by come query. Retry later.", ErrorCodes::TABLE_ALREADY_EXISTS);
|
", because it was detached but still used by some query. Retry later.", ErrorCodes::TABLE_ALREADY_EXISTS);
|
||||||
}
|
}
|
||||||
|
|
||||||
DatabaseAtomic::DetachedTables DatabaseAtomic::cleenupDetachedTables()
|
DatabaseAtomic::DetachedTables DatabaseAtomic::cleenupDetachedTables()
|
||||||
|
Loading…
Reference in New Issue
Block a user