calc: on editing invalidation of view with different zoom is wrong
[LibreOffice.git] / external / firebird / wnt-per-process-trace-storage.patch.1
blob46af6c5e5c5cdd3135732552eaa85ae89b415335
1 diff --git a/src/jrd/trace/TraceConfigStorage.cpp b/src/jrd/trace/TraceConfigStorage.cpp
2 index 05fce3211ae7..d267713e85de 100644
3 --- a/src/jrd/trace/TraceConfigStorage.cpp
4 +++ b/src/jrd/trace/TraceConfigStorage.cpp
5 @@ -103,11 +103,11 @@ ConfigStorage::ConfigStorage()
6                 pfnProcessIdToSessionId(GetCurrentProcessId(), &sesID) == 0 ||
7                 sesID == 0)
8         {
9 -               filename.printf(TRACE_FILE); // TODO: it must be per engine instance
10 +               filename.printf("%s.0.%u", TRACE_FILE, GetCurrentProcessId()); // TODO: it must be per engine instance
11         }
12         else
13         {
14 -               filename.printf("%s.%u", TRACE_FILE, sesID);
15 +               filename.printf("%s.%u.%u", TRACE_FILE, sesID, GetCurrentProcessId());
16         }
17  #else
18         filename.printf(TRACE_FILE); // TODO: it must be per engine instance