Skip to content

Commit 1c4f9d5

Browse files
committed
[ga-format-pr] Run ./format_repo.sh to fix formatting
1 parent 0d59d6e commit 1c4f9d5

File tree

3 files changed

+13
-16
lines changed

3 files changed

+13
-16
lines changed

enginetest/memory_engine_test.go

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -200,11 +200,11 @@ func TestSingleQueryPrepared(t *testing.T) {
200200
func TestSingleScript(t *testing.T) {
201201
//t.Skip()
202202
var scripts = []queries.ScriptTest{
203-
{
204-
Name: "IF/ELSE with 1 SELECT at end",
205-
SetUpScript: []string{
206-
"SET @outparam = ''",
207-
`
203+
{
204+
Name: "IF/ELSE with 1 SELECT at end",
205+
SetUpScript: []string{
206+
"SET @outparam = ''",
207+
`
208208
CREATE PROCEDURE p1(OUT s VARCHAR(200), N DOUBLE, m DOUBLE)
209209
BEGIN
210210
SET s = '';
@@ -221,16 +221,16 @@ BEGIN
221221
SET s = CONCAT(n, ' ', s, ' ', m, '.');
222222
SELECT s;
223223
END;`,
224-
},
225-
Assertions: []queries.ScriptTestAssertion{
226-
{
227-
Query: "CALL p1(@outparam, null, 2)",
228-
Expected: []sql.Row{
229-
{nil},
224+
},
225+
Assertions: []queries.ScriptTestAssertion{
226+
{
227+
Query: "CALL p1(@outparam, null, 2)",
228+
Expected: []sql.Row{
229+
{nil},
230+
},
230231
},
231232
},
232233
},
233-
},
234234
}
235235

236236
for _, test := range scripts {

sql/analyzer/optimization_rules.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,9 @@
1515
package analyzer
1616

1717
import (
18-
"github.com/dolthub/go-mysql-server/memory"
19-
"strings"
18+
"strings"
2019

2120
"github.com/dolthub/go-mysql-server/memory"
22-
2321
"github.com/dolthub/go-mysql-server/sql"
2422
"github.com/dolthub/go-mysql-server/sql/expression"
2523
"github.com/dolthub/go-mysql-server/sql/plan"

sql/procedures/interpreter_logic.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,6 @@ func Call(ctx *sql.Context, iNode InterpreterNode, params []*Parameter) (any, *I
311311
}
312312
}
313313

314-
315314
// TODO: Set all user and system variables from INOUT and OUT params.
316315
// Copy logic from proc_iters.go: callIter.Close()
317316

0 commit comments

Comments
 (0)