From 0e0d70998ea2e50992a006591c979ecf10e80934 Mon Sep 17 00:00:00 2001 From: hvlad Date: Wed, 16 Nov 2016 13:22:04 +0200 Subject: [PATCH] Clear dp numbers cache before re-use RelationPages in next GTT instance --- src/jrd/Relation.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/jrd/Relation.cpp b/src/jrd/Relation.cpp index 9700abb7d0..21ecdc3213 100644 --- a/src/jrd/Relation.cpp +++ b/src/jrd/Relation.cpp @@ -519,5 +519,9 @@ void RelationPages::free(RelationPages*& nextFree) rel_index_root = rel_data_pages = 0; rel_slot_space = rel_pri_data_space = rel_sec_data_space = 0; + rel_last_free_pri_dp = 0; rel_instance_id = 0; + + dpMap.clear(); + dpMapMark = 0; }