@@ -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.
207199func 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-
10761060func TestSQLLogicTests (t * testing.T ) {
10771061 enginetest .TestSQLLogicTests (t , enginetest .NewMemoryHarness ("default" , 1 , testNumPartitions , true , mergableIndexDriver ))
10781062}
0 commit comments