Skip to content

Commit 0ecac73

Browse files
author
Nathan Gabrielson
committed
small format change
1 parent 1e29fb7 commit 0ecac73

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

server/tables/information_schema/sequences_table.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ var sequencesSchema = sql.Schema{
5050
}
5151

5252
// sequencesRowIter implements the sql.RowIter for the information_schema.Sequences table.
53-
func sequencesRowIter(ctx *sql.Context, catalog sql.Catalog) (sql.RowIter, error) {
53+
func sequencesRowIter(ctx *sql.Context, _ sql.Catalog) (sql.RowIter, error) {
5454
var rows []sql.Row
5555

5656
err := functions.IterateCurrentDatabase(ctx, functions.Callbacks{
@@ -62,9 +62,9 @@ func sequencesRowIter(ctx *sql.Context, catalog sql.Catalog) (sql.RowIter, error
6262
precision, radix, scale = getColumnPrecisionAndScale(sequenceType)
6363
}
6464

65-
cycle_option := "NO"
65+
cycleOption := "NO"
6666
if sequence.Item.Cycle {
67-
cycle_option = "YES"
67+
cycleOption = "YES"
6868
}
6969

7070
rows = append(rows, sql.Row{
@@ -79,7 +79,7 @@ func sequencesRowIter(ctx *sql.Context, catalog sql.Catalog) (sql.RowIter, error
7979
strconv.FormatInt(sequence.Item.Minimum, 10), //minimum_value
8080
strconv.FormatInt(sequence.Item.Maximum, 10), //maximum_value
8181
strconv.FormatInt(sequence.Item.Increment, 10), //increment
82-
cycle_option, //cycle_option
82+
cycleOption, //cycle_option
8383
})
8484
return true, nil
8585
},

0 commit comments

Comments
 (0)