helper functions for WAL usage accumulation */
| 583 | |
| 584 | /* helper functions for WAL usage accumulation */ |
| 585 | static void |
| 586 | WalUsageAdd(WalUsage *dst, WalUsage *add) |
| 587 | { |
| 588 | dst->wal_bytes += add->wal_bytes; |
| 589 | dst->wal_records += add->wal_records; |
| 590 | dst->wal_fpi += add->wal_fpi; |
| 591 | } |
| 592 | |
| 593 | void |
| 594 | WalUsageAccumDiff(WalUsage *dst, const WalUsage *add, const WalUsage *sub) |
no outgoing calls
no test coverage detected