mirror of
https://github.com/dolthub/dolt.git
synced 2026-03-14 19:20:44 -05:00
updated DoltIndex to satisfy sql.FilteredIndex interface
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user