Block all memory tracking limits in tryLogCurrentException()

This commit is contained in:
Azat Khuzhin 2021-04-14 23:33:36 +03:00
parent b6d7562cc2
commit 22d394c4a3

View File

@ -150,7 +150,7 @@ void tryLogCurrentException(Poco::Logger * logger, const std::string & start_of_
///
/// And in this case the exception will not be logged, so let's block the
/// MemoryTracker until the exception will be logged.
MemoryTracker::LockExceptionInThread lock_memory_tracker;
MemoryTracker::LockExceptionInThread lock_memory_tracker(VariableContext::Global);
try
{