mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-26 10:37:04 -06:00
replace format_7_18 in more places
This commit is contained in:
@@ -31,7 +31,7 @@ type MemFactory struct {
|
||||
func (fact MemFactory) CreateDB(ctx context.Context, nbf *types.NomsBinFormat, urlObj *url.URL, params map[string]string) (datas.Database, error) {
|
||||
var db datas.Database
|
||||
storage := &chunks.MemoryStorage{}
|
||||
db = datas.NewDatabase(storage.NewView())
|
||||
db = datas.NewDatabase(storage.NewViewWithDefaultFormat())
|
||||
|
||||
return db, nil
|
||||
}
|
||||
|
||||
@@ -78,7 +78,7 @@ func init() {
|
||||
KindToType[IntKind] = Int(0)
|
||||
KindToType[UintKind] = Uint(0)
|
||||
KindToType[NullKind] = NullValue
|
||||
KindToType[TupleKind] = EmptyTuple(Format_7_18)
|
||||
KindToType[TupleKind] = EmptyTuple(Format_Default)
|
||||
KindToType[InlineBlobKind] = InlineBlob{}
|
||||
KindToType[TimestampKind] = Timestamp{}
|
||||
KindToType[DecimalKind] = Decimal{}
|
||||
|
||||
@@ -72,12 +72,12 @@ func (t *Type) Equals(other Value) (res bool) {
|
||||
}
|
||||
|
||||
if otherType, ok := other.(*Type); ok {
|
||||
h, err := t.Hash(Format_7_18)
|
||||
h, err := t.Hash(Format_Default)
|
||||
|
||||
// TODO - fix panics
|
||||
d.PanicIfError(err)
|
||||
|
||||
oh, err := other.Hash(Format_7_18)
|
||||
oh, err := other.Hash(Format_Default)
|
||||
|
||||
// TODO - fix panics
|
||||
d.PanicIfError(err)
|
||||
|
||||
Reference in New Issue
Block a user