From 57b3bdf41221b2c35b3764a499e5cae448e61e1d Mon Sep 17 00:00:00 2001 From: Michael Erickson Date: Fri, 19 May 2023 14:00:17 -0700 Subject: [PATCH] querycache: remove unused field from CachedData Remove the `IsCorrelated` flag from `querycache.CachedData`, which is no longer used. Release note: None --- pkg/sql/querycache/query_cache.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/sql/querycache/query_cache.go b/pkg/sql/querycache/query_cache.go index 424ba88e05d6..dd2a464b4589 100644 --- a/pkg/sql/querycache/query_cache.go +++ b/pkg/sql/querycache/query_cache.go @@ -56,9 +56,6 @@ type CachedData struct { // PrepareMetadata is set for prepare queries. In this case the memo contains // unassigned placeholders. For non-prepared queries, it is nil. PrepareMetadata *PrepareMetadata - // IsCorrelated memoizes whether the query contained correlated - // subqueries during planning (prior to de-correlation). - IsCorrelated bool } func (cd *CachedData) memoryEstimate() int64 {