package mysql_protocol

  1. Overview
  2. Docs
exception Bad_EOF_packet of Bitstring.bitstring
type eof_packet = {
  1. eof_field_count : int;
  2. eof_warning_count : int;
  3. eof_status_flags : int;
}
val eof_packet_empty : eof_packet
val eof_packet_to_string : eof_packet -> string
type flag_server =
  1. | Server_status_in_trans
  2. | Server_status_autocommit
  3. | Server_more_results_exists
  4. | Server_status_no_good_index_used
  5. | Server_status_no_index_used
  6. | Server_status_cursor_exists
  7. | Server_status_last_row_sent
  8. | Server_status_db_dropped
  9. | Server_status_no_backslash_escapes
  10. | Server_status_metadata_changed
  11. | Server_query_was_slow
  12. | Server_ps_out_params
val flag_server_to_int : flag_server -> int
val status_has_flag : int -> flag_server -> bool
val eof_packet_bits : Bitstring.bitstring -> eof_packet
val eof_packet_chan : Stdlib.in_channel -> 'a -> eof_packet
OCaml

Innovation. Community. Security.