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());