File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -411,8 +411,8 @@ class TxGraphImpl final : public TxGraph
411
411
* values for remaining Entry objects, so this only does something when no to-be-applied
412
412
* operations or staged removals referring to GraphIndexes remain). */
413
413
void Compact () noexcept ;
414
- /* * If cluster is not in staging, copy it there, and return a pointer to it. This has no
415
- * effect if only a main graph exists, but if staging exists this modifies the locators of its
414
+ /* * If cluster is not in staging, copy it there, and return a pointer to it.
415
+ * Staging must exist, and this modifies the locators of its
416
416
* transactions from inherited (P,M) to explicit (P,P). */
417
417
Cluster* PullIn (Cluster* cluster) noexcept ;
418
418
/* * Apply all removals queued up in m_to_remove to the relevant Clusters (which get a
@@ -928,7 +928,7 @@ Cluster* TxGraphImpl::FindCluster(GraphIndex idx, int level) const noexcept
928
928
Cluster* TxGraphImpl::PullIn (Cluster* cluster) noexcept
929
929
{
930
930
int to_level = GetTopLevel ();
931
- if (to_level == 0 ) return cluster ;
931
+ Assume (to_level == 1 ) ;
932
932
int level = cluster->m_level ;
933
933
Assume (level <= to_level);
934
934
// Copy the Cluster from main to staging, if it's not already there.
You can’t perform that action at this time.
0 commit comments