updated DoltIndex to satisfy sql.FilteredIndex interface

This commit is contained in:
Andy Arthur
2022-03-04 13:42:51 -08:00
parent 738cf4bcad
commit b4f003d7be

View File

@@ -31,7 +31,7 @@ import (
)
type DoltIndex interface {
sql.Index
sql.FilteredIndex
Schema() schema.Schema
IndexSchema() schema.Schema
TableData() durable.Index
@@ -289,6 +289,10 @@ RangeLoop:
}, nil
}
func (di doltIndex) HandledFilters(filters []sql.Expression) []sql.Expression {
return filters
}
// Database implement sql.Index
func (di doltIndex) Database() string {
return di.dbName