Skip to content

Commit ee78132

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

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

memory/table.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2583,13 +2583,13 @@ func (t *TableRevision) IgnoreSessionData() bool {
25832583
// by ensuring it doesn't exceed the column type's maximum value or wrap around.
25842584
func updateAutoIncrementSafe(ctx *sql.Context, autoCol *sql.Column, autoIncVal *uint64) {
25852585
currentVal := *autoIncVal
2586-
2586+
25872587
// Check for arithmetic overflow before adding 1
25882588
if currentVal == math.MaxUint64 {
25892589
// At maximum uint64 value, can't increment further
25902590
return
25912591
}
2592-
2592+
25932593
nextVal := currentVal + 1
25942594
if _, inRange, err := autoCol.Type.Convert(ctx, nextVal); err == nil && inRange == sql.InRange {
25952595
*autoIncVal = nextVal

memory/table_editor.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -888,5 +888,3 @@ func verifyRowTypes(row sql.Row, schema sql.Schema) error {
888888
}
889889
return nil
890890
}
891-
892-

0 commit comments

Comments
 (0)