Skip to content

Commit bd4b1a1

Browse files
committed
[ga-format-pr] Run ./format_repo.sh to fix formatting
1 parent 3e5cfc3 commit bd4b1a1

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

engine.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ func (e *Engine) QueryWithBindings(ctx *sql.Context, query string, parsed sqlpar
450450
if err != nil {
451451
clearAutocommitErr := clearAutocommitTransaction(ctx)
452452
if clearAutocommitErr != nil {
453-
return nil, nil, nil, errors.Wrap(err, "unable to clear autocommit transaction: " + clearAutocommitErr.Error())
453+
return nil, nil, nil, errors.Wrap(err, "unable to clear autocommit transaction: "+clearAutocommitErr.Error())
454454
}
455455
return nil, nil, nil, err
456456
}
@@ -491,7 +491,7 @@ func (e *Engine) PrepQueryPlanForExecution(ctx *sql.Context, _ string, plan sql.
491491
if err != nil {
492492
clearAutocommitErr := clearAutocommitTransaction(ctx)
493493
if clearAutocommitErr != nil {
494-
return nil, nil, nil, errors.Wrap(err, "unable to clear autocommit transaction: " + clearAutocommitErr.Error())
494+
return nil, nil, nil, errors.Wrap(err, "unable to clear autocommit transaction: "+clearAutocommitErr.Error())
495495
}
496496
return nil, nil, nil, err
497497
}

sql/rowexec/dml_iters.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@ package rowexec
1616

1717
import (
1818
"fmt"
19-
"github.com/dolthub/vitess/go/mysql"
20-
"io"
19+
"io"
2120
"sync"
2221

22+
"github.com/dolthub/vitess/go/mysql"
23+
2324
"github.com/dolthub/go-mysql-server/sql"
2425
"github.com/dolthub/go-mysql-server/sql/expression"
2526
"github.com/dolthub/go-mysql-server/sql/plan"

0 commit comments

Comments
 (0)