Skip to content

Commit

Permalink
Merge branch 'zachmu/enginetest10' of github.com:dolthub/dolt into za…
Browse files Browse the repository at this point in the history
…chmu/enginetest10
  • Loading branch information
zachmu committed Dec 5, 2024
2 parents 4418ef1 + 915c88c commit e6545cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go/libraries/doltcore/sqle/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -1730,7 +1730,7 @@ func (db Database) RenameTable(ctx *sql.Context, oldName, newName string) error
if err != nil {
return err
}

if !exists {
return sql.ErrTableNotFound.New(oldName)
}
Expand Down
2 changes: 1 addition & 1 deletion go/libraries/doltcore/sqle/enginetest/dolt_harness.go
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ func (d *DoltHarness) NewEngine(t *testing.T) (enginetest.QueryEngine, error) {
d.engine.Analyzer.Catalog.MySQLDb = mysql_db.CreateEmptyMySQLDb()
d.engine.Analyzer.Catalog.MySQLDb.AddRootAccount()
d.engine.Analyzer.Catalog.StatsProvider = statspro.NewProvider(d.provider.(*sqle.DoltDatabaseProvider), statsnoms.NewNomsStatsFactory(d.multiRepoEnv.RemoteDialProvider()))

var err error
ctx := enginetest.NewContext(d)
e, err := enginetest.RunSetupScripts(ctx, d.engine, d.resetScripts(), d.SupportsNativeIndexCreation())
Expand Down

0 comments on commit e6545cc

Please sign in to comment.