Skip to content

Commit

Permalink
zach comment
Browse files Browse the repository at this point in the history
  • Loading branch information
max-hoffman committed Jun 24, 2024
1 parent 298b5f9 commit 486897d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions go/libraries/doltcore/sqle/statspro/analyze.go
Original file line number Diff line number Diff line change
@@ -184,9 +184,6 @@ func (p *Provider) RefreshTableStatsWithBranch(ctx *sql.Context, table sql.Table
// branchQualifiedDatabase returns a branch qualified database. If the database
// is already branch suffixed no duplication is applied.
func (p *Provider) branchQualifiedDatabase(db, branch string) string {
if branch == "" {
return db
}
suffix := fmt.Sprintf("/%s", branch)
if !strings.HasSuffix(db, suffix) {
return fmt.Sprintf("%s%s", db, suffix)

0 comments on commit 486897d

Please sign in to comment.