Skip to content

Commit 387d8ad

Browse files
committed
Fix statement ID output format in the trace
1 parent 0e0386a commit 387d8ad

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
@@ -1818,7 +1818,7 @@ void TracePluginImpl::register_sql_statement(ITraceSQLStatement* statement)
18181818
stmt_data.description = FB_NEW_POOL(*getDefaultMemoryPool()) string(*getDefaultMemoryPool());
18191819

18201820
if (stmt_data.id) {
1821-
stmt_data.description->printf(NEWLINE "Statement %d:", stmt_data.id);
1821+
stmt_data.description->printf(NEWLINE "Statement %" SQUADFORMAT":", stmt_data.id);
18221822
}
18231823

18241824
string temp(*getDefaultMemoryPool());

0 commit comments

Comments
 (0)