mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-31 12:19:08 -06:00
Fix test code for new interface
This commit is contained in:
@@ -1882,7 +1882,7 @@ func makeRootWithTable(t *testing.T, ddb *doltdb.DoltDB, eo editor.Options, tbl
|
||||
require.NoError(t, err)
|
||||
noop := func(ctx *sql.Context, dbName string, root doltdb.RootValue) (err error) { return }
|
||||
sess := writer.NewWriteSession(ddb.Format(), ws, gst, eo)
|
||||
wr, err := sess.GetTableWriter(sql.NewContext(ctx), doltdb.TableName{Name: tbl.ns.name}, "test", noop)
|
||||
wr, err := sess.GetTableWriter(sql.NewContext(ctx), doltdb.TableName{Name: tbl.ns.name}, "test", noop, false)
|
||||
require.NoError(t, err)
|
||||
|
||||
sctx := sql.NewEmptyContext()
|
||||
|
||||
Reference in New Issue
Block a user