mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-11 18:14:03 +00:00
fix error with uninitialized system_logs
This commit is contained in:
parent
ac3072cd9b
commit
53634a324e
@ -249,7 +249,8 @@ struct ContextShared
|
||||
* Note that part changes at shutdown won't be logged to part log.
|
||||
*/
|
||||
|
||||
system_logs->shutdown();
|
||||
if (system_logs)
|
||||
system_logs->shutdown();
|
||||
|
||||
/** At this point, some tables may have threads that block our mutex.
|
||||
* To shutdown them correctly, we will copy the current list of tables,
|
||||
|
Loading…
Reference in New Issue
Block a user