Skip to content

Commit 4a291ed

Browse files
committed
Fix statement ID output format in the trace
1 parent 60b32c0 commit 4a291ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utilities/ntrace/TracePluginImpl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1586,7 +1586,7 @@ void TracePluginImpl::register_sql_statement(ITraceSQLStatement* statement)
15861586
stmt_data.description = FB_NEW_POOL(*getDefaultMemoryPool()) string(*getDefaultMemoryPool());
15871587

15881588
if (stmt_data.id) {
1589-
stmt_data.description->printf(NEWLINE "Statement %d:", stmt_data.id);
1589+
stmt_data.description->printf(NEWLINE "Statement %" SQUADFORMAT":", stmt_data.id);
15901590
}
15911591

15921592
string temp(*getDefaultMemoryPool());

0 commit comments

Comments
 (0)