Skip to content

Commit

Permalink
Respond to PR feedback.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicktobey committed Jan 23, 2025
1 parent d0fb77f commit 7f0ca8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions go/libraries/doltcore/env/multi_repo_env.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,7 @@ func (mrEnv *MultiRepoEnv) ReloadDBs(
for _, namedEnv := range mrEnv.envs {
dEnv := namedEnv.env

if dEnv.DoltDB(ctx) == nil {
dEnv.ReloadDB(ctx)
}
dEnv.ReloadDB(ctx)
if !dEnv.Valid() {
dbErr := dEnv.DBLoadError
if dbErr != nil {
Expand Down
2 changes: 1 addition & 1 deletion go/libraries/doltcore/sqle/dsess/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,7 @@ func (d *DoltSession) ReleaseSavepoint(ctx *sql.Context, tx sql.Transaction, sav
return nil
}

// GetDoltDB returns the *doltDB for a given database by name
// GetDoltDB returns the *DoltDB for a given database by name
func (d *DoltSession) GetDoltDB(ctx *sql.Context, dbName string) (*doltdb.DoltDB, bool) {
branchState, ok, err := d.lookupDbState(ctx, dbName)
if err != nil {
Expand Down

0 comments on commit 7f0ca8c

Please sign in to comment.