| 464 | } |
| 465 | |
| 466 | void logError(const string& message) |
| 467 | { |
| 468 | if (m_config->verboseLogging || message != m_lastError) |
| 469 | { |
| 470 | string error = message; |
| 471 | |
| 472 | if (m_errorSequence) |
| 473 | { |
| 474 | string position; |
| 475 | position.printf("\n\tAt segment %" UQUADFORMAT ", offset %u", |
| 476 | m_errorSequence, m_errorOffset); |
| 477 | error += position; |
| 478 | } |
| 479 | |
| 480 | logReplicaError(m_config->dbName, error); |
| 481 | m_lastError = message; |
| 482 | } |
| 483 | } |
| 484 | |
| 485 | void checkCompletion(const FbLocalStatus& status, FB_UINT64 sequence, ULONG offset) |
| 486 | { |
no test coverage detected