Rework kv package interface

This commit is contained in:
Asdine El Hrychy
2022-04-06 12:24:33 +04:00
parent 260abcf2f8
commit f01e4aefdc
29 changed files with 1017 additions and 1585 deletions

View File

@@ -314,8 +314,7 @@ func TestParserSelect(t *testing.T) {
t.Run(test.name, func(t *testing.T) {
q, err := parser.ParseQuery(test.s)
if !test.mustFail {
db, cleanup := testutil.NewTestDB(t)
defer cleanup()
db := testutil.NewTestDB(t)
testutil.MustExec(t, db, nil, `
CREATE TABLE test;