Module Mysql_protocol.Mp_field_packet

type field_packet_field_type =
| Field_type_decimal
| Field_type_tiny
| Field_type_short
| Field_type_long
| Field_type_float
| Field_type_double
| Field_type_null
| Field_type_timestamp
| Field_type_longlong
| Field_type_int24
| Field_type_date
| Field_type_time
| Field_type_datetime
| Field_type_year
| Field_type_newdate
| Field_type_varchar
| Field_type_bit
| Field_type_newdecimal
| Field_type_enum
| Field_type_set
| Field_type_tiny_blob
| Field_type_medium_blob
| Field_type_long_blob
| Field_type_blob
| Field_type_var_string
| Field_type_string
| Field_type_geometry
val field_packet_field_type_to_string : field_packet_field_type -> string
type field_packet_field_flag =
| Field_flag_not_null
| Field_flag_pri_key
| Field_flag_unique_key
| Field_flag_multiple_key
| Field_flag_blob
| Field_flag_unsigned
| Field_flag_zerofill
| Field_flag_binary
| Field_flag_enum
| Field_flag_auto_increment
| Field_flag_timestamp
| Field_flag_set
val field_packet_field_flag_to_string : field_packet_field_flag -> string
type field_packet = {
field_catalog : string;
field_db : string;
field_table : string;
field_org_table : string;
field_name : string;
field_org_name : string;
field_charset_number : int;
field_length : Stdlib.Int64.t;
field_type : field_packet_field_type;
field_flags : field_packet_field_flag list;
field_decimals : int;
field_default : Stdlib.Int64.t;
version : Mp_protocol.protocol_version;
}
val field_packet_to_string : field_packet -> string
val decode_field_packet_field_type : int -> field_packet_field_type
val decode_field_packet_field_flag : Bitstring.bitstring -> field_packet_field_flag list
val field_packet : field_packet list Stdlib.ref -> Stdlib.in_channel -> 'a -> unit