Skip to content

Commit 2e99c47

Browse files
author
James Cor
committed
more unused funcs
1 parent 77561cf commit 2e99c47

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

enginetest/memory_engine_test.go

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ import (
3030
"github.com/dolthub/go-mysql-server/memory"
3131
"github.com/dolthub/go-mysql-server/sql"
3232
"github.com/dolthub/go-mysql-server/sql/expression"
33-
"github.com/dolthub/go-mysql-server/sql/plan"
34-
"github.com/dolthub/go-mysql-server/sql/types"
33+
"github.com/dolthub/go-mysql-server/sql/types"
3534
_ "github.com/dolthub/go-mysql-server/sql/variables"
3635
)
3736

@@ -196,13 +195,6 @@ func TestSingleQueryPrepared(t *testing.T) {
196195
enginetest.TestScriptWithEnginePrepared(t, engine, harness, test)
197196
}
198197

199-
func newUpdateResult(matched, updated int) types.OkResult {
200-
return types.OkResult{
201-
RowsAffected: uint64(updated),
202-
Info: plan.UpdateInfo{Matched: matched, Updated: updated},
203-
}
204-
}
205-
206198
// Convenience test for debugging a single query. Unskip and set to the desired query.
207199
func TestSingleScript(t *testing.T) {
208200
t.Skip()
@@ -1065,14 +1057,6 @@ func findTable(dbs []sql.Database, tableName string) (sql.Database, sql.Table) {
10651057
return nil, nil
10661058
}
10671059

1068-
func mergeSetupScripts(scripts ...setup.SetupScript) []string {
1069-
var all []string
1070-
for _, s := range scripts {
1071-
all = append(all, s...)
1072-
}
1073-
return all
1074-
}
1075-
10761060
func TestSQLLogicTests(t *testing.T) {
10771061
enginetest.TestSQLLogicTests(t, enginetest.NewMemoryHarness("default", 1, testNumPartitions, true, mergableIndexDriver))
10781062
}

0 commit comments

Comments
 (0)