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

Function PAG_set_db_guid

src/jrd/pag.cpp:1669–1684  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1667
1668
1669void PAG_set_db_guid(thread_db* tdbb, const Guid& guid)
1670{
1671/**************************************
1672 *
1673 * P A G _ s e t _ d b _ g u i d
1674 *
1675 **************************************
1676 *
1677 * Functional description
1678 * Set sweep interval.
1679 *
1680 **************************************/
1681
1682 SET_TDBB(tdbb);
1683 add_clump(tdbb, HDR_db_guid, sizeof(Guid), (UCHAR*) &guid, CLUMP_REPLACE);
1684}
1685
1686
1687void PAG_set_force_write(thread_db* tdbb, bool flag)

Callers 2

createDatabaseMethod · 0.85
ensureGuidMethod · 0.85

Calls 2

SET_TDBBFunction · 0.85
add_clumpFunction · 0.85

Tested by

no test coverage detected