mirror of
https://github.com/dolthub/dolt.git
synced 2025-12-30 08:50:01 -06:00
Cleanup
This commit is contained in:
@@ -22,7 +22,6 @@ import (
|
||||
"sort"
|
||||
"strings"
|
||||
|
||||
"github.com/dolthub/dolt/go/libraries/utils/set"
|
||||
flatbuffers "github.com/dolthub/flatbuffers/v23/go"
|
||||
|
||||
"github.com/dolthub/dolt/go/gen/fb/serial"
|
||||
@@ -707,8 +706,6 @@ type TableName struct {
|
||||
Schema string
|
||||
}
|
||||
|
||||
var _ set.Element = TableName{}
|
||||
|
||||
func (tn TableName) ToLower() TableName {
|
||||
return TableName{
|
||||
Name: strings.ToLower(tn.Name),
|
||||
@@ -730,15 +727,6 @@ func (tn TableName) String() string {
|
||||
return tn.Schema + "." + tn.Name
|
||||
}
|
||||
|
||||
func (tn TableName) ElementLess(other set.Element) bool {
|
||||
otherTn := other.(TableName)
|
||||
return tn.Less(otherTn)
|
||||
}
|
||||
|
||||
func (tn TableName) ElementLower() set.Element {
|
||||
return tn.ToLower()
|
||||
}
|
||||
|
||||
// DefaultSchemaName is the name of the default schema. Tables with this schema name will be stored in the
|
||||
// primary (unnamed) table store in a root.
|
||||
var DefaultSchemaName = ""
|
||||
|
||||
Reference in New Issue
Block a user