parse: update comments

This commit is contained in:
zimulala
2015-12-09 11:02:57 +08:00
committed by xia
parent b86271c6b9
commit 76f5d9294f

View File

@ -162,7 +162,7 @@ func checkDefaultValue(c *column.Col, hasDefaultValue bool) error {
return nil
}
// ColumnDefToCol converts converts ColumnDef to Col and TableConstraints.
// ColumnDefToCol converts ColumnDef to Col and TableConstraints.
func ColumnDefToCol(offset int, colDef *ColumnDef) (*column.Col, []*TableConstraint, error) {
constraints := []*TableConstraint{}
col := &column.Col{