Skip to content

Commit b2de759

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/planbuilder/ddl.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ func (b *Builder) buildCreateTableLike(inScope *scope, ct *ast.DDL) *scope {
456456
newSch = append(newSch, col)
457457
}
458458
for _, pkOrd := range pkSch.PkOrdinals {
459-
pkOrdinals = append(pkOrdinals, len(newSch) + pkOrd)
459+
pkOrdinals = append(pkOrdinals, len(newSch)+pkOrd)
460460
}
461461

462462
pkSchema := sql.NewPrimaryKeySchema(newSch, pkOrdinals...)

0 commit comments

Comments
 (0)