Skip to content

Commit 09824d7

Browse files
committed
cleanup
1 parent abe1d3d commit 09824d7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sql/analyzer/costed_index_scan.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1315,7 +1315,6 @@ func indexHasContentHashedFieldForFilter(filter *iScanLeaf, idx sql.Index, ordin
13151315
// by a statistic, returning the updated statistic, whether the filter was
13161316
// applicable, and the maximum prefix key (0 or 1 for a leaf).
13171317
func (c *indexCoster) costIndexScanLeaf(filter *iScanLeaf, s sql.Statistic, buckets []sql.HistogramBucket, ordinals map[string]int, idx sql.Index) ([]sql.HistogramBucket, *sql.FuncDepSet, bool, int, error) {
1318-
//todo use {underlyingTable}.{gf.Name}?
13191318
ord, ok := ordinals[strings.ToLower(filter.gf.Name())]
13201319
if !ok {
13211320
return nil, nil, false, 0, nil

0 commit comments

Comments
 (0)