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

Fixed missing elapsed time for COMPILE_TRIGGER events

This commit is contained in:
Dmitry Yemanov 2023-01-31 17:55:56 +03:00
parent 51ca91f55d
commit dd375c3613

View File

@ -481,9 +481,12 @@ void TracePluginImpl::logRecordTrig(const char* action, ITraceDatabaseConnection
break;
}
record.printf(NEWLINE "%s (%s):", name.c_str(), extras.c_str());
string temp;
temp.printf(NEWLINE "%s (%s):", name.c_str(), extras.c_str());
record += (stmt_id && !checkRoutine(stmt_id)) ? getPlan(trigger) : NEWLINE;
temp += (stmt_id && !checkRoutine(stmt_id)) ? getPlan(trigger) : NEWLINE;
record.insert(0, temp);
if (!transaction) {
logRecordConn(action, connection);