Skip to content

Commit 9264932

Browse files
committed
Postfix for the dbb_guid movement
1 parent 7c3abb1 commit 9264932

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/jrd/ods.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ struct index_root_page
371371
// alignment between 32-bit and 64-bit builds
372372
struct irt_repeat
373373
{
374-
friend class index_root_page; // to allow offset check for private members
374+
friend struct index_root_page; // to allow offset check for private members
375375

376376
private:
377377
FB_UINT64 irt_transaction; // transaction in progress

src/jrd/pag.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,6 +1039,8 @@ void PAG_header(thread_db* tdbb, bool info, const TriState newForceWrite)
10391039
const auto replicaMode = (ReplicaMode) header->hdr_replica_mode;
10401040
dbb->dbb_replica_mode.store(replicaMode, std::memory_order_relaxed);
10411041

1042+
dbb->dbb_guid = Guid(header->hdr_guid);
1043+
10421044
// If database in backup lock state...
10431045
if (!info && dbb->dbb_backup_manager->getState() != Ods::hdr_nbak_normal)
10441046
{

0 commit comments

Comments
 (0)