From 387d8ad16a5789cb9a3fb25dc56ad27a634f0c39 Mon Sep 17 00:00:00 2001 From: Dmitry Yemanov Date: Mon, 23 Dec 2024 21:09:02 +0300 Subject: [PATCH] Fix statement ID output format in the trace --- src/utilities/ntrace/TracePluginImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utilities/ntrace/TracePluginImpl.cpp b/src/utilities/ntrace/TracePluginImpl.cpp index a71372804a..766613c1a5 100644 --- a/src/utilities/ntrace/TracePluginImpl.cpp +++ b/src/utilities/ntrace/TracePluginImpl.cpp @@ -1818,7 +1818,7 @@ void TracePluginImpl::register_sql_statement(ITraceSQLStatement* statement) stmt_data.description = FB_NEW_POOL(*getDefaultMemoryPool()) string(*getDefaultMemoryPool()); if (stmt_data.id) { - stmt_data.description->printf(NEWLINE "Statement %d:", stmt_data.id); + stmt_data.description->printf(NEWLINE "Statement %" SQUADFORMAT":", stmt_data.id); } string temp(*getDefaultMemoryPool());