| 819 | } |
| 820 | |
| 821 | void RestoreRelationTask::verbRecs(FB_UINT64& records, bool total) |
| 822 | { |
| 823 | if (!total) |
| 824 | ++records; |
| 825 | |
| 826 | const FB_UINT64 verb = m_masterGbl->verboseInterval / getMaxWorkers(); |
| 827 | if (records < verb && !total) |
| 828 | return; |
| 829 | |
| 830 | FB_UINT64 newRecs = m_records.exchangeAdd(records) + records; |
| 831 | records = 0; |
| 832 | |
| 833 | FB_UINT64 newVerb = (newRecs / m_masterGbl->verboseInterval) * m_masterGbl->verboseInterval; |
| 834 | if (newVerb > m_verbRecs) |
| 835 | { |
| 836 | m_verbRecs = newVerb; |
| 837 | BURP_verbose(107, SafeArg() << m_verbRecs); |
| 838 | // msg 107 %ld records restored |
| 839 | } |
| 840 | } |
| 841 | |
| 842 | void RestoreRelationTask::verbRecsFinal() |
| 843 | { |
nothing calls this directly
no test coverage detected