Versions in this module Expand all Collapse all v5 v5.2.5 Jul 5, 2022 v5.2.4 Jul 5, 2022 Changes in this version + const UnspecifiedLength + const VarStorageLen + var ErrInvalidDefault = terror.ClassTypes.NewStd(mysql.ErrInvalidDefault) + var TiDBStrictIntegerDisplayWidth bool + func HasCharset(ft *FieldType) bool + func IsTypeBlob(tp byte) bool + func IsTypeChar(tp byte) bool + func TypeStr(tp byte) (r string) + func TypeToStr(tp byte, cs string) (r string) + type EvalType byte + const ETDatetime + const ETDecimal + const ETDuration + const ETInt + const ETJson + const ETReal + const ETString + const ETTimestamp + func (et EvalType) IsStringKind() bool + type FieldType struct + Charset string + Collate string + Decimal int + Elems []string + Flag uint + Flen int + Tp byte + func NewFieldType(tp byte) *FieldType + func (ft *FieldType) Clone() *FieldType + func (ft *FieldType) CompactStr() string + func (ft *FieldType) Equal(other *FieldType) bool + func (ft *FieldType) EvalType() EvalType + func (ft *FieldType) FormatAsCastType(w io.Writer, explicitCharset bool) + func (ft *FieldType) Hybrid() bool + func (ft *FieldType) InfoSchemaStr() string + func (ft *FieldType) Init(tp byte) + func (ft *FieldType) Restore(ctx *format.RestoreCtx) error + func (ft *FieldType) RestoreAsCastType(ctx *format.RestoreCtx, explicitCharset bool) + func (ft *FieldType) StorageLength() int + func (ft *FieldType) String() string Other modules containing this package github.com/simon-root/parser