Skip to content

Commit f7de4aa

Browse files
committed
Ensure error checking is performed
1 parent ec30ced commit f7de4aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/libraries/doltcore/sqle/statspro/worker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ func (sc *StatsController) updateTable(ctx *sql.Context, newStats *rootStats, ta
437437
var err error
438438
var prollyMap prolly.Map
439439
var template stats.Statistic
440-
if sc.sq.DoSync(ctx, func() (err error) {
440+
if err = sc.sq.DoSync(ctx, func() (err error) {
441441
if strings.EqualFold(sqlIdx.ID(), "PRIMARY") {
442442
idx, err = dTab.GetRowData(ctx)
443443
} else {

0 commit comments

Comments
 (0)