Closed makenowjust closed 3 weeks ago
TableConstraint
pos
end
ConstraintPos
InvalidPos
ForeignKey
Check
expect(")").End
Rparen
expect(")").Pos
Note that expect(")").End also appears in parseColumnDefOptions, but it will be removed in #142.
parseColumnDefOptions
Thank you @apstndb.
TableConstraint
definition, comments aboutpos
andend
were missing. This PR adds them.ConstraintPos
is missing, it setsInvalidPos
explicitly.ForeignKey
andCheck
setexpect(")").End
toRparen
on parsing seems incorrect, andexpect(")").Pos
is correct.Note that
expect(")").End
also appears inparseColumnDefOptions
, but it will be removed in #142.