Skip to content

Commit

Permalink
querycache: remove unused field from CachedData
Browse files Browse the repository at this point in the history
Remove the `IsCorrelated` flag from `querycache.CachedData`, which is no
longer used.

Release note: None
  • Loading branch information
michae2 committed May 25, 2023
1 parent 70ee1b1 commit 57b3bdf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/sql/querycache/query_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 57b3bdf

Please sign in to comment.