| 370 | } |
| 371 | |
| 372 | void TracePluginImpl::logRecordProc(const char* action, ITraceDatabaseConnection* connection, |
| 373 | ITraceTransaction* transaction, ITraceProcedure* procedure) |
| 374 | { |
| 375 | const StmtNumber stmt_id = procedure->getStmtID(); |
| 376 | |
| 377 | string temp; |
| 378 | temp.printf(NEWLINE "%s %s:", "Procedure", procedure->getProcName()); |
| 379 | |
| 380 | temp += (stmt_id && !checkRoutine(stmt_id)) ? getPlan(procedure) : NEWLINE; |
| 381 | |
| 382 | record.insert(0, temp); |
| 383 | |
| 384 | if (!transaction) { |
| 385 | logRecordConn(action, connection); |
| 386 | } |
| 387 | else { |
| 388 | logRecordTrans(action, connection, transaction); |
| 389 | } |
| 390 | } |
| 391 | |
| 392 | void TracePluginImpl::logRecordFunc(const char* action, ITraceDatabaseConnection* connection, |
| 393 | ITraceTransaction* transaction, ITraceFunction* function) |
nothing calls this directly
no test coverage detected