code: func (p *Selection) SetCorrelated() {
  	p.basePlan.SetCorrelated()
  	for _, cond := range p.Conditions {
  		p.correlated = p.correlated || cond.IsCorrelated()
  	}
  }
docs: // SetCorrelated implements Plan interface.