Skip to content

Commit

Permalink
[ga-format-pr] Run ./format_repo.sh to fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jycor committed Nov 8, 2024
1 parent 2375a54 commit 4ea2b94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/planbuilder/ddl.go
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ func (b *Builder) buildCreateTableLike(inScope *scope, ct *ast.DDL) *scope {
// Copy over primary key schema ordinals
if pkTable, isPkTable := lTable.Table.(sql.PrimaryKeyTable); isPkTable {
for _, pkOrd := range pkTable.PrimaryKeySchema().PkOrdinals {
pkOrdinals = append(pkOrdinals, len(newSch) + pkOrd)
pkOrdinals = append(pkOrdinals, len(newSch)+pkOrd)
}
}

Expand Down

0 comments on commit 4ea2b94

Please sign in to comment.