Skip to content

Commit b034205

Browse files
committed
Fix statement ID output format in the trace
1 parent e2a6b2e commit b034205

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

15401540
if (stmt_data.id) {
1541-
stmt_data.description->printf(NEWLINE "Statement %d:", stmt_data.id);
1541+
stmt_data.description->printf(NEWLINE "Statement %" SQUADFORMAT":", stmt_data.id);
15421542
}
15431543

15441544
string temp(*getDefaultMemoryPool());

0 commit comments

Comments
 (0)