8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 20:43:02 +01:00

Fix statement ID output format in the trace

This commit is contained in:
Dmitry Yemanov 2024-12-23 21:09:02 +03:00
parent 0e0386afba
commit 387d8ad16a

View File

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