MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / explain_pp_bits

Function explain_pp_bits

src/jrd/validation.cpp:621–653  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

619
620
621static void explain_pp_bits(const UCHAR bits, Firebird::string& names)
622{
623 if (bits & ppg_dp_full)
624 names = "full";
625
626 if (bits & ppg_dp_large)
627 {
628 if (!names.empty())
629 names.append(", ");
630 names.append("large");
631 }
632
633 if (bits & ppg_dp_swept)
634 {
635 if (!names.empty())
636 names.append(", ");
637 names.append("swept");
638 }
639
640 if (bits & ppg_dp_secondary)
641 {
642 if (!names.empty())
643 names.append(", ");
644 names.append("secondary");
645 }
646
647 if (bits & ppg_dp_empty)
648 {
649 if (!names.empty())
650 names.append(", ");
651 names.append("empty");
652 }
653}
654
655
656bool VAL_validate(thread_db* tdbb, USHORT switches)

Callers 1

walk_pointer_pageMethod · 0.85

Calls 2

emptyMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected